Forum


09:30

13/01/2009

Hi,
Also, is there any way to debug and view the full data in php page?
echo $json->encode($responce);— I try to echo $responce, it only show page, total, records. It won't show $responce->rows…
Also, at example.html page, is there any way to easily output the response?
something like alert(response from php page);
3rd, i m not sure what is the correct syntax to write the code....
I want to pass user defined data from php page to html page, and show it out, but i have no idea how to write it. After refer to http://www.secondpersonplural....../index.htm, I write it out and test it, seems cannot run...
example.php
$responce->testing = "hahaha";
showtime.php
<?php
$a= jQuery("#list2").getReturnedData();
$b= jQuery("#list2").getGridParam('testing');
echo $a . $b
?>
<table id="list2" class="scroll" cellpadding="0" cellspacing="0"></table>
08:17

Moderators
30/10/2007

Hello,
You can use print_r or var_dump functions in PHP. Please refer to php dot net
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
45 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66