what I must do?
I do not know where is the problem:(

On Saturday, March 16, 2013 12:50:02 AM UTC+3, asgallant wrote:
>
> If that's the output you are getting, then you don't have PHP running.
>
> On Friday, March 15, 2013 3:36:28 PM UTC-4, [email protected] wrote:
>>
>>
>>
>>  open chart1.php in a browser and post the string that it outputs here:
>> This is view source
>>
>> <?php$con=mysql_connect("localhost","root","") or die("problemas al 
>> conectarse al server!!!!"); mysql_select_db("rpms", $con); $chart_type = 
>> $_POST['selectcharttype'];$sth = mysql_query("SELECT * FROM diabetes WHERE 
>> Patient_ID ='123456789'");$rows = array();$flag = true;$table = 
>> array();$table['cols'] = array(    array('label' => 'Date_of_Measure', 
>> 'type' => 'date'),    array('label' => 'BloodGlucose', 'type' => 
>> 'number'),);$rows = array();while($r = mysql_fetch_assoc($sth)) {    $temp = 
>> array();$temp[] = array('v' => (string) $r['Date_of_Measure']); $temp[] = 
>> array('v' => (int) $r['BloodGlucose']);      $rows[] = array('c' => 
>> $temp);}$table['rows'] = $rows;$jsonTable = json_encode($table);echo 
>> $jsonTable;mysql_close($db);?>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to