Two timensional array mysql_fetch_what?
Posted by:
Gal Koren
Date: November 03, 2009 08:33AM
$query = 'SELECT * FROM bla;';
$result = $db->query($query);
I want to be able to address to every data cell in the table by the name of the column and number by order. For example:
$x = $row['column']['0'];
$x is now set to something.
do I need to use
$row = mysqli_fetch_assoc($result)
or something else?
thanks a lot and sorry for the multiple threads.
Subject
Written By
Posted
Two timensional array mysql_fetch_what?
November 03, 2009 08:33AM
November 03, 2009 10:26AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.