Last active
July 4, 2018 11:25
-
-
Save Trshant/0f53371f609e4a62e7aa3136b462c5ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach($_POST['outcome'] as $okey=>$oval){ | |
$rs = mysql_query("INSERT INTO form_quest_outcome_fqo (qid_fqo, idotc_fqo) VALUES ('{$q_id}','{$oval}')", $mx_shop); | |
$idfqo = mysql_insert_id(); | |
foreach($_POST['outcome_inctype'][$oval] as $ikey=>$ival){ | |
mysql_query("INSERT INTO form_quest_outcomeit_fqi (idfqo_fqi, qid_fqi, idit_fqi) VALUES ('{$idfqo}','{$q_id}','{$ival}')", $mx_shop); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment