[snip] I keep getting the following error when I try to run an "if" statement
Warning: 2 is not a valid MySQL-Link resource in then give the filename Here is what I am trying to do. if ($bumpnumber<4) { print ("display this"); }else { print ("display that"); } mysql_close ($Link); Anyone have any idea what I may be doing wrong? [/snip] This code is not your problem, but the line that says mysql_close($Link); may be. Do you have a MySQL resource in $Link? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]