renu-86
03-01-2010, 12:08 PM
in my php page , ther is a form for ntering email , shown below ..
whenever a user enters email , i need to add tat to my database table 'log_table'.
<tr><td>email</td><td><input type="text" id="email" name="email" value=""/></td></tr>
to add to table , i used the foll , query
sql_query("INSERT INTO log_table (email) VALUES ('$_POST['email]')");
but it doesnt work.. pls give me a solution ..
whenever a user enters email , i need to add tat to my database table 'log_table'.
<tr><td>email</td><td><input type="text" id="email" name="email" value=""/></td></tr>
to add to table , i used the foll , query
sql_query("INSERT INTO log_table (email) VALUES ('$_POST['email]')");
but it doesnt work.. pls give me a solution ..