Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
select results
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
MySQL Query Builder
>
All threads
>
select results
>
(Un) Subscribe thread alerts
Subject:
select results
Summary:
mysql_num_rows, mysql_fetch_array
Messages:
2
Author:
Sol Beltrame
Date:
2013-01-31 01:23:46
Update:
2013-02-16 03:03:01
1. select results
Reply
Report abuse
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
Report abuse
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'];
}
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2024
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger