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
Did I miss something, or you really left the execution of the last $sql?
After you put the 'INSERT INTO...' string in $sql, you have to mysql_query
it, or you won't get any result.
SanTa
- Original Message -
From: "Chris Carter"
To:
Sent: Tuesday, January 20, 2009 3:34 PM
Subject
3 matches
Mail list logo