I have 2 files: apix.php and crud.php. I am trying to convert the fetched data from php to a jason print. The issue is that the function does not the results for me to parse in the next section of my code. The CRUD.php: class crud { private $db; function __construct($DB_con) { $this->db = $DB_con; } public function dataview_new($query) { $stmt = $this->db->prepare($query); $stmt->execute(); $users = array(); while($row = $stmt->fetch(PDO::FETCH_ASSOC)){ array_push($users, $row); } return $users; } } the APIX.php: require_once 'crud.php'; $crud = new crud($DB_con); $res = array('error' => false); $action = 'read'; if(isset($_GET['action'])){ $action = $_GET['action']; } if($action == …

Member Avatar
Member Avatar
+0 forum 1

I am trying to export the current record in my app into a PDF. My current code (shown below) is exporting into Crystal Report and then into PDF format but it is exporting ALL records in the database. This program is used for entering in Purchase Requests. Each record in the database is one purchase request. Once the record is inputted, a button is clicked and the conversion occurs and saves the PDF file. How can I tell the program to just export the current record I am viewing in my program....not all records in the database. This is VB.net …

Member Avatar
Member Avatar
+0 forum 6

here i want to generate a graph using highchrats library.my graph is spline with column chart (combo chart).but my graph not generate with my code.so please check my code where is i am wrong.i think i am wrong in jason code..but i have a little bit knowledge in json .so it creates problem for me .how to call json code .and generate a graph ,,i want my graph will be like this .[link] http://jsfiddle.net/sunman/FR7md/1/ but it is not shows like this shows me blank.i had tried last 4 days.so This is my index.php . $(function () { var chart; $(document).ready(function() …

Member Avatar
+0 forum 0

it's as the title says .. mine was I'm Yours --Jason Mraz so what's yours ?

Member Avatar
Member Avatar
+0 forum 153

Hi, I have a jaso object that i am getting from a API access. how do i deserialize the jason object in C# so that I can get the papameter values. JavaScriptSerializer js = new JavaScriptSerializer(); bookshare bs = js.Deserialize<bookshare>(response); string a = bs.version; when i do this for string a i get null value? how do i solve this appreciate a reply thanks

Member Avatar
Member Avatar
+0 forum 4

The End.