I have a MySQL table that contains the following columns:
id : title : message : date
1 : blah : blah : 27/12/2012
And I have queried it and stored it in an array. How do I get the individual columns if a certain ID. For example, I want to get the row where ID = 1 and get the title, message etc. And then I want row 2 and row 3. How do I get the information out of an array. Like
$array[1]["date"]; ( I tried it and it never worked)
And I have queried it and stored it in an array
most likely you are storing it with 0-indexed array – dev-null-dweller Dec 27 '12 at 15:42