Any problem with PHP can be disscused here
-
Segman
- Posts: 22
- Joined: Thu Apr 12, 2007 11:46 pm
Post
by Segman »
what's wrong on this code ?
Code: Select all
while ($Row = mysql_fetch_array($Result))
{
extract($Row);
}
-
Lixas
- Posts: 750
- Joined: Wed Feb 16, 2005 4:21 pm
Post
by Lixas »
[PHP]
while ($Row = mysql_fetch_array($Result))
{
extract($Row);
// note this line
echo "$col1, $col2, $col3";
}[/PHP]
http://lt2.php.net/extract
Note: This topic will be moved to PHP section
-
barnes
- Posts: 202
- Joined: Tue May 16, 2006 5:09 am
Post
by barnes »
Smart guy. I should put more time into learning PHP.