Re: jpgraph and mysql passing array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 23 Mar 2011 15:59:50 -0500
Chris Stinemetz <chrisstinemetz@xxxxxxxxx> wrote:

> Hello,

> <?php
> 
> echo "You Selected the following:<br>Market = $term <br>Cell_Sector =
> $term2<br>Timestamp = $term3<br>"; ?>

note the closing PHP tag above, and now 
 
this line here, is not in php, and does not echo the php variables.
> 
> <img src="bandingGraph.php?$datax=$row["Distance"]&$datay=$row["MBusage"];">
> // I think this is where I am having issues.
> 


try instead 
<?php 
echo '<img src="bandingGraph.php?datax='.$row["Distance"].'&datay='.$row["MBusage"].'">';
?>
-- 
Simcha Younger <simcha@xxxxxxxxxxxx>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux