I know how you can do this.
$a = mysql_fetch_row($result);
$a would be the array. But I want to make it variables like.
$a,$b,$c,$d = mysql_fetch_row($result);
???!
This would not produce an array. To return an array you'd need to do
$a = mysql_fetch_array($result);
Originally posted by iceraider I know how you can do this. $a = mysql_fetch_row($result); $a would be the array. But I want to make it variables like. $a,$b,$c,$d = mysql_fetch_row($result); ???!
How do I make multiple variables, do I use commas?
so this isnt possible?
[man]list[/man]