<?php
$query = mysql_query("select * from emp");
// emp table contain 10000 records
while($fetch = mysql_fetch_array($query))
{
echo fetch[0];
}
/* how many record i can get easily from local mysql server and from localhost as well */
?>
如果emp表包含10000条记录,那么我可以从本地mysql服务器和localhost轻松获取多少条记录。