Jump to content


This topic is now archived and is closed to further replies.


pls. i need help on the errors.

Recommended Posts


if ( $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());

<td width="100%" align="center"><input type="submit" value="Sign In"
name="signin" tabindex="3"><input type="reset" value="Reset" name="B2"></td>
<td width="100%">&nbsp;</td>
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; with Apache 1.3.33; PHP 4.3.10; MySQL 4.1.9. Pls anyone can advise

Share this post

Link to post
Share on other sites
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.


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.