mysqli_fetch_all & PHP 5.4

hey guys, i’m having a little problem with fetching all rows from my database, hopefully someone can help me.

normally i would use mysql_fetch_all but my server is currenctly running PHP version 5.4 and mysql_fetch_all isnt supported.

my dilema is how on earth do i fetch all rows?

every other function i tried to use only selects one row and not all rows.

any advise would be greatly appreciated.

thanks guys

Try mysqli_fetch_all
http://php.net/manual/en/mysqli-result.fetch-all.php

sorry i was refering to mysqli_fetch_all…it doesnt work on server (function not available)…how do i fetch rows and not a single row?

does the server have MySQLi installed at all? because mysqli_fetch_all() is supported since PHP 5.3.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.