Page is a not externally linkable
rocknbil - 4:29 pm on Apr 19, 2012 (gmt 0)
Notice: Undefined index: fname in /home/********/public_html/root/tktedmembers_search.php on line 19
Haven't we had this conversation? :-) You have an array or an incoming post or get value that has either not been defined or is not submitting.
$foo = array();
echo $foo['mykey']; // WARNING
$foo = array(
'mykey' => null,
'yourkey => null
);
echo $foo['mykey']; // Doesn't echo anything because it's null, but no error or warning.
<form method="post" action="myscript.php">
<p><input type="text" name="first_name"></p>
<p><input type="submit" value="Go"></p>
</form>
echo $_POST['fname']; // WARNING - there is no "fname" in this form
if (isset($_POST['fname'])) {
echo $_POST['fname']; // Doesn't do anything - see above
}
else { echo "<p>No fname key found in post.</p>"; } // Now THERE's something useful that helps you
Deprecated: Function eregi_replace() is deprecated in /home/********/public_html/root/tktedmembers_search.php on line 22
This warning tells you that you're using an old script with a newer version of PHP on your server. You can **probably** ignore it but shouldn't, all instances of eregi_replace need to be swapped out with the preg_replace equivalent. It's not that difficult.
In case you don't understand the meaning of deprecated in reference to programming, it's an outdated or possibly insecure method that has been replaced by something better and your scripts need to be updated to use the newer implementation.