Jump to content

pls. i need help on the errors.


u0206787@nus.edu.sg

Recommended Posts

[code]
<?php

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());
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%">&nbsp;</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

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

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.