u0206787@nus.edu.sg Posted September 27, 2006 Share Posted September 27, 2006 [code]<?phpif ( $signin != "" ) {// Make a MySQL Connection$link = mysql_connect($host, $user, $password) or die(mysql_error());;mysql_select_db("myfirstphp_uk_db") or die(mysql_error());mysql_close($link);?>[/code][code]<tr><td width="100%" align="center"><input type="submit" value="Sign In"name="signin" tabindex="3"><input type="reset" value="Reset" name="B2"></td></tr></form><tr><td width="100%"> </td></tr>[/code]the above is the quote.1. Undefined variable: on line 41 ([color=red]if ( $signin != "" ) {[/color] )2. Undefined variable: on line 75 ([color=red]mysql_close($link); {[/color] )Sorry, I didnt mean to double post my problem, but I'm still unable to get an solution for it. I'm running on EasyPHP 1.8.0.1; with Apache 1.3.33; PHP 4.3.10; MySQL 4.1.9. Pls anyone can advise Link to comment Share on other sites More sharing options...
kenrbnsn Posted September 27, 2006 Share Posted September 27, 2006 People were giving you suggestions on your original post [url=http://www.phpfreaks.com/forums/index.php/topic,109557.msg441740.html#msg441740]here[/url].Instead of re-posting, the "proper" way of getting your post to to "top" of the posts is to "bump" it by replying to one of the suggestions.I am locking this post, so you can do it properly.Ken Link to comment Share on other sites More sharing options...
Recommended Posts