Jump to content

need help with a basic array


dazzathedrummer

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.