[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-db
Subject:    Re: [PHP-DB] jpgraph and mysql passing array
From:       Simcha Younger <simcha () syounger ! com>
Date:       2011-03-24 9:41:07
Message-ID: 20110324114107.39479312.simcha () syounger ! com
[Download RAW message or body]

On Wed, 23 Mar 2011 15:59:50 -0500
Chris Stinemetz <chrisstinemetz@gmail.com> 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@syounger.com>

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic