Is the following correct? I am getting an error.
<?php
$form_id = $form->data['form_id'];
$query = mysql_query("
ALTER TABLE 'email_history' DROP '$form_id';
") or die(mysql_error());
?>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use ` (backtick) to delimit object names in MySQL. Try that
Note, I don’t know php, but you can’t parametrise DDL (
ALTER TABLEetc)