access all php array rows using mysql limit clause -
using following method mysql query limit clause, if try access array values using foreach loop, display limited rows inside $query_data array per limit clause.
while ($row = mysqli_fetch_assoc($result1)) { $query_data[] = $row; }
array $query_data contains 8 rows result-set. if limit clause of query set 0,3 display 3 records array values.
is there way fetch records ignoring limit clause every time @ place using foreach or other loop?
no. limit
clause means data not fetched. if wish fetch additional data, must rid of limit
clause.
Comments
Post a Comment