The mysql query result can have 1 or 2 rows with results. How would I separate them?
$bio = mysql_query("SELECT *, FROM soc_meminfo
WHERE m_id = '".mysql_real_escape_string($en['id'])."'");
#
if (mysql_num_rows($bio) == 0) call404();
$line = mysql_fetch_assoc($bio);
foreach ($line as $key => $value) {
$en['b'.$key] = str_replace("\n",'<br/>',stripslashes($value));
}
Try this:
Also your sql should be
SELECT * FROM soc_meminfo