mysql_unbuffered_query()

It executes a query on a MySQL database and buffering the result

Example

<?php
mysql_pconnect(“localhost”, “root”, “phpcode”) or die(mysql_error());
$db_selected = mysql_select_db(“database_name”);
echo mysql_result(mysql_unbuffered_query( “SELECT * FROM users”),1);
mysql_close();
?>

Share