|
|
 Sol Beltrame | 2013-01-31 01:23:46 |
Hello, how can I use the commands mysql_num_rows and mysql_fetch_array with those selects?
Thank you. |
| |
2. Re: select results |
|
Reply |
|
|
 Sol Beltrame | 2013-02-16 03:03:02 - In reply to message 1 from Sol Beltrame |
that's what i get:
// NUM_ROWS -------------------------------------------------------------*
echo count($sql);
// ECHO ARRAY -----------------------------------------------------------*
echo $sql[0]["user"];
// FETCH ARRAY ----------------------------------------------------------*
for ($i = 0; $i < count($sql); $i++) {
$ft = $sql[$i];
echo $ft['user'];
} |
|