RE: [PHP-DB] PHP and MySql question

2005-04-18 Thread ReClMaples
); echo("Longitude: " . $row["ZG_LONGITUDE"]. ""); } I get no results with this still, it acutally doesn't even go to the this page. When I uncomment out: //echo ($Lat1); //echo ($Lat2); //echo ($Lon1); //echo ($Lon2); and comment out everything below this,

SV: [PHP-DB] PHP and MySql question

2005-04-18 Thread Henrik Hornemann
n) = mysql_fetch_row($res); $Lat1=Lat-2; $Lat2=Lat+2; $Lon1=Lon-2; $Lon2=Lat+2; Now you can use the values in your final query. Hth Henrik Hornemann -Oprindelig meddelelse- Fra: ReClMaples [mailto:[EMAIL PROTECTED] Sendt: 16. april 2005 22:38 Til: php-db@lists.php.net Emne: [PHP-DB] PH

[PHP-DB] PHP and MySql question

2005-04-16 Thread ReClMaples
Hello, I'm kinda new at PHP programming with MySQL. I am having an issue and am not sure if this is the corret way to do this: Here is my code, I'll start there: Error performing query: " . mysql_error() . ""); exit(); } $Lat2 = mysql_query( "SELECT (ZG_LATITUDE+2) FR