Hello,
I am creating a login script and on the login form page i receive this error -
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24576 bytes) in C:\xampp\htdocs\new1\Social\index.php on line 64
And here are lines 54 - 79
<table border="0">
<form action="<?php $_SERVER['PHP_SELF'] ?>" method="post">
<?php
if (isset($message_1))
{
"<p>$message_1</p>";
}
foreach($field_1 as $field => $value)
{
if(preg_match("/pass/i",$field))
$type = "password";
else
$type = "text";
echo "
<tr><td><label>$value</label>
</td><td><input type='$type' id='$field' name='$field' vale='".@$$field."' style='height:25px; width:250px; color:#999999;' />
</td></tr>
";
}
?>
<tr><td align="right"><input type="submit" id="login" name="login" value="Login.." /></td></tr>
</form>
</table>
<?php } ?>
Line 64 is in red, could someone help me, any help would be appreciated.