dazzathedrummer Posted April 30, 2010 Share Posted April 30, 2010 Hi, I realise that this is a very basic thing but what is the best way to store a query result as an array and then call each cell individually as oppose to part of a loop? for exaple: If I have a query that returns a dataset of 2 columns and three rows as an associative array how do I then echo say, row 2, column 2 within a line of html? I've spent ages looking through search results - it seems all the answers are way too complex for my basic needs! Link to comment https://forums.phpfreaks.com/topic/200265-need-help-with-a-basic-array/ Share on other sites More sharing options...
gclx Posted April 30, 2010 Share Posted April 30, 2010 http://php.net/manual/en/function.mysql-fetch-array.php Link to comment https://forums.phpfreaks.com/topic/200265-need-help-with-a-basic-array/#findComment-1050968 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.