I want to make a php PDO select statement and end up with the possibility to place $row['field'] wherever I want.
In normal mysql I would have done as following:
$row = mysql_fetch_array(mysql_query("SELECT * FROM table WHERE id = '1234'"));
And then I would be able to place $row['name'] in one place and $row['items'] in another.
How to do this?
1 Answer