In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Just before a minute I sent a message with an attachement.. but the attachement was
> canceled by the list!!
>
> Any way.. these are the codes of the pages :
>
>
> Login.php :
>
> <?php
>
> $link = mysql_connect("localhost", "Database username", "Database password")
> or die("Could
> not connect: " . mysql_error());
> mysql_select_db("Database name", $link);
>
> $UserName = $_GET['UserName'];
> $Password = $_GET['Password'];
> $Serial = $_GET['Serial'];
>
> $UserName = mysql_escape_string($UserName);
> $Password = mysql_escape_string($Password);
> $Serial = mysql_escape_string($Serial);
>
> $user = escape_function($user);
> $query1 = "select Serial from accounts where UserName='$UserName' and
> Password='$Password'";
> $query2 = "SELECT Random FROM accounts";
> $Random = 'Random'
Any chance that a missing ; here might be part of your problem?
--
Quod subigo farinam
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php