I am having a problem with a nested if statement in php. Everything
works fine, but it doesn't display the information that I am trying to
retrieve using a second if statement.
CODE:
if (($fr == 'FR') && ($xe == 'XE') && ($co == 'CO')) { print
"Statement";
} elseif (($ag == 'AG') && ($rz
Hello all,
I am having trouble setting array data from within a MySQL results
query. I have modified data from the result and wish to enter it into
it's own array ($data). That then is used to generate a graph. The
following code basically gives me an empty array...
I am pulling out a timestamp a
Nevermind, I figured it out. Simple case of duh...
$data[] = array('$time' => '$time','$aval' => 'aval');
Should have been:
$data[] = array('$time' => "$time" ,'$aval' => "aval");
Thank
3 matches
Mail list logo