| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Accredited PayPal World Seller|
|Echo not working as expected.|
Driving me crazy
| 4:29 pm on Mar 11, 2008 (gmt 0)|
I have a script that is a mixture of php and html code. I have a variable that is pulled from a database using the following query
SELECT city FROM geo where id=1234
If I echo the result out in the php portion of the script using
The result is echoed fine, however if I try to echo it out in the html part of the script using the following
<p><?php echo $row['city'];?></p>
No result is returned.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved