Jump to content


Photo

pls. i need help on the errors.


  • This topic is locked This topic is locked
1 reply to this topic

#1 u0206787@nus.edu.sg

u0206787@nus.edu.sg
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 27 September 2006 - 02:39 AM

<?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);
?>

<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>
the above is the quote.
1. Undefined variable: on line 41 (if ( $signin != "" ) { )
2. Undefined variable: on line 75 (mysql_close($link); { )
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

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 27 September 2006 - 02:50 AM

People were giving you suggestions on your original post here.

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users