[PHP] Php with mysql

2005-05-23 Thread Rittwick Banerjee

Hi friends,

I am Rittwick Banerjee

Some one gave me an idea about that past php code that is :

   $sql = SELECT `User_name` AND `User_pass` FROM `user` 
WHERE `User_name` = '$_POST['user_id']' AND  '$_POST['user_id']' ;


but I found that it still not working ...
Plaese give me another code , by the way I am using Fedora 2(PCQ Linux 2004)

Thank you..

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 `user` WHERE `User_name`= 
'$_POST[user_id]' AND `User_pass` = '$_POST[user_pass]' 

But this code dose not working properly.
This code dosen't checking if the user name and password is correct or 
incorrect

Please help me with some source code.
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Having a problem

2005-04-25 Thread Rittwick Banerjee
Hi friends,
This is Rittwick Banerjee
I have a problem with PHP and MySql while i'm trying to give a code into a 
PHP file. The main problem is I can't delete any kinds of records from my 
MySql database using a PHP code .

Can any help me ?
If there any code possible please e-mail that to me at [EMAIL PROTECTED]
Thank you...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php