is there any way how to optimize php codes?
ex:
$id = mysql_pconnect($localhost, $user, $password) or die(mysql_error());
mysql_select_db($database, $id);
$rs = mysql_query("Select * From table", $id);
do
{
echo $row['field'] . "<br>";
}
while($row=mysql_fetch_assoc($rs));
and what other suggestions if any... to optimize php codes 🙂