You don't appear to be doing anything with this line of your code. You build
a string variable, but you don't call anything like mysql_query($sql) to
actually execute the INSERT statement.
M is for Murray
On Wed, Jan 21, 2009 at 12:34 AM, Chris Carter wrote:
> $sql = "insert into `userstable` (
2009/1/20 Chris Carter :
>
> Hi,
>
> My code is not giving error but not doing the desired action.
>
But it can do a lot more than your desired action.
> // insert new entry in the database if entry submitted
>
> $emailAddress = $_POST['emailAddress'];
> $passw
January 20, 2009 3:34 PM
Subject: [PHP] Code Not entering the value in the Database
Hi,
My code is not giving error but not doing the desired action.
I need to append a value in database just when the user logs in after
entering the username and password. So I am not presenting the user with a
acc
Hi,
My code is not giving error but not doing the desired action.
I need to append a value in database just when the user logs in after
entering the username and password. So I am not presenting the user with a
account but just a thank you page.
Steps:
1) User enters the user name and password
4 matches
Mail list logo