Re: [PHP-DB] Get error message, need help

2002-12-16 Thread David
ay, December 16, 2002 2:16 AM Subject: [PHP-DB] Get error message, need help > Hello all, > > I am new to PHP so I am going to need some help. > > I am trying to create a admin login page. But I am getting this error > message: >

Re: [PHP-DB] Get error message, need help

2002-12-16 Thread Peter Beckman
On Sun, 15 Dec 2002, David wrote: > It is coming from this line: > > this is line 43 code > > # $myquery = .'" AND password = '" . crypt($password, "xpz8ty") . "'"; You have the wrong quotes and such. It should look like this: $myquery .= " AND password = '".crypt($password,"xpz8ty")."'";

[PHP-DB] Get error message, need help

2002-12-16 Thread Cornelia Boenigk
Hi David >// Query Database with username and encrypted password > #$myquery = "SELECT * FROM user WHERE username = '" . $user > #$myquery = .'" AND password = '" . crypt($password, "xpz8ty") . "'"; > #$result = mysql_query($myquery); In the first line of the query there is no semicolon at

Re: [PHP-DB] Get error message, need help

2002-12-16 Thread Adam Voigt
onday, December 16, 2002 2:16 AM Subject: [PHP-DB] Get error message, need help > Hello all, > > I am new to PHP so I am going to need some help. > > I am trying to create a admin login page. But I am getting this error

Re: [PHP-DB] Get error message, need help

2002-12-16 Thread Ignatius Reilly
TED]> Sent: Monday, December 16, 2002 2:16 AM Subject: [PHP-DB] Get error message, need help > Hello all, > > I am new to PHP so I am going to need some help. > > I am trying to create a admin login page. But I am getting this error > message: > > Parse error: parse erro

[PHP-DB] Get error message, need help

2002-12-16 Thread David
Hello all, I am new to PHP so I am going to need some help. I am trying to create a admin login page. But I am getting this error message: Parse error: parse error, unexpected T_VARIABLE in c:\program files\apache group\apache\htdocs\sunwestsilver\admin\tmpi5pcf76sy9.php on line 43 tmpi5pcf76sy