Why would I be getting this error with register_globals turned off.
Notice: Undefined variable: jason in c:\inetpub\wwwroot\beachbreeders\test.php on line 25
Here is my code:
Form Page:
<FORM ACTION="test.php" METHOD="POST">
<input type="text" name="jason">
<input type="Submit" value="Submit">
</form>
Code Page (test.php)
<?php
$which_db="beachbreeders";
if(!$link = mysql_connect("localhost", "sa", "password"))
die("No Connect to DB");
if(!mysql_select_db($which_db,$link))
die("No Select DB");
$query = "INSERT into tblBreeder (Name) VALUES (\"$jason\")";
$result = mysql_query($query,$link);
?>