MySQL_Fetch_Array
| From: | Petr Kadlec | Date: | Sun, 07 Oct 2001 14:21:52 +0000 |
| Subject: | MySQL_Fetch_Array | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13084@lists.php.net to get a copy of this message | ||
Im beginer in PHP. Help me please. I have one question.
In database I have record
id name city street
------------------------------------------------------------------
123 Peter CITY 23 STREET 25
When I use
$rec = MySQL_Fetch_Array($res)
and
echo "".$rec["city"]." ".$rec["street"]."";
I give only
CITY STREET
why not CITY 23 STREET 25
Thank you
Petr