Questionnaire Data Submission Questions
A questionnaire with 10 questions, how to answer the 10 questions of the questionnaire, a click submit button, let it all inserted into the database go Ah, please expert pointing??? The code is as follows:
Require (DirName (__file__). " /.. /include/common.inc.php ");
Require (dedeinc. " /dedevote.class.php ");
$link = @mysql_connect (' localhost ', ' root ', ') or Die (' Could not connect: '. Mysql_error ());
$selected = @mysql_select_db ("Xmucms", $link);
mysql_query ("SET NAMES UTF8");
$result = @mysql_query ("select * from ' Dede_vote ' ORDER by aid ASC", $link);
echo "Xiamen University online survey Questionnaire";
echo "";
?>
------Solution--------------------
Bulk update execution, you can use stored procedures
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service