MySQL row['values'] to variables?
Posted: Wed Oct 15, 2008 7:05 pm
I have this huge database and i was wondering if there was a way that I could make all the values "in the fetched array" as real variables without having to declare every single one.
$title=$row['title'];
$name=$row['name'];
Is there a way php can do it for me? using foreach? maybe for?
This is a pain
but cheers fellow programmers
$title=$row['title'];
$name=$row['name'];
Is there a way php can do it for me? using foreach? maybe for?
This is a pain
but cheers fellow programmers