Re: [PHP] mysql with php

2005-05-20 Thread [EMAIL PROTECTED]
try this: $sql = " SELECT User_name, User_pass FROM `user` WHERE User_name= '$_POST[user_id]' AND User_pass = '$_POST[user_pass]' "; -afan Rittwick Banerjee wrote: Hi friends, I am Rittwick Banerjee and i have made a mysql based user name and password program but I

RE: [PHP] mysql with php

2005-05-20 Thread George Pitcher
- > From: eoghan [mailto:[EMAIL PROTECTED] > Sent: 20 May 2005 11:21 am > To: Rittwick Banerjee > Cc: php-general@lists.php.net > Subject: Re: [PHP] mysql with php > > > $sql = "select User_name, User_pass from user where User_name = > '$_POST[user_

RE: [PHP] mysql with php

2005-05-20 Thread Jim Moseby
> -Original Message- > From: Rittwick Banerjee [mailto:[EMAIL PROTECTED] > Sent: Friday, May 20, 2005 3:59 AM > To: php-general@lists.php.net > Subject: [PHP] mysql with php > > > Hi friends, > > I am Rittwick Banerjee > > and i have made a mysql b

Re: [PHP] mysql with php

2005-05-20 Thread eoghan
$sql = "select User_name, User_pass from user where User_name = '$_POST[user_id]' and User_pass = '$_POST[user_pass]'"; assuming user_id isnt an int Rittwick Banerjee wrote: Hi friends, I am Rittwick Banerjee and i have made a mysql based user name and password program but I found that what eve

[PHP] mysql with php

2005-05-20 Thread Rittwick Banerjee
Hi friends, I am Rittwick Banerjee and i have made a mysql based user name and password program but I found that what ever I entered in the user name and password feild the php file dose not working. I set this code for user name and password $sql = " SELECT `User_name` AND `User_pass` FROM `us