Jump to content

contents to array


sandy1028

Recommended Posts

How to pass the values in $qry2[0] to $graph[].

 

The contents of $graph=array(Contents of $qry2[0]);

 

Please help me how to proceed with this

 

$qry= "select avg(bw_util) from tablename where  fieldname < ('".$timestamp."') and fieldname > date_sub('".$timestamp."',interval 1 day) group by fieldname";
$qry1=mysql_query($qry);
$count=mysql_num_rows($qry1);
$graphValues=array();
while($qry2=mysql_fetch_array($qry1)){
//Some code

Link to comment
https://forums.phpfreaks.com/topic/70424-contents-to-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.