PHP: storing all data form a db row in variables with the same name as the db column
its maybe a bit unclear.
What i want to do is getting all the data out of a db row, and storing this data in a variable with the name of the db column. To explain it: Code:
\\ This is what i use right now I think i have to do someting with a foreach, but i'm not sure. Hope this was clear. |
You could just use extract().
|
yes it works, thanks!
|
All times are GMT -5. The time now is 08:09 AM. |