Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
php x 6
Member Avatar for mm2409

lines of code is: [code=php]$que_id = uniqid(); $que['Yes'] = No; $que['No'] = No; $que[$_POST['r1']] = Yes; $que_words1= $_POST['q1']; $sql = "INSERT INTO `tbl_CT_Questions` (`Question_ID`,`Questionnaire_ID`,`Question_Words`,`Answer_Type`) VALUES (0,'".$que_id."','".$que_words1."','".$que[$_POST['r1']]."')"; $result = mysql_query($sql) or die(mysql_error()) ; echo mysql_error(); echo $sql; echo "<br>";[/code] whr query returns : [code=sql]INSERT INTO `tbl_CT_Questions` (`Question_ID`,`Questionnaire_ID`,`Question_Words`,`Answer_Type`) VALUES (0,'494220e779547','Conflicts Questionnaire','Yes')[/code] as …

0
75
Member Avatar for mm2409

Hi, i have a html form for questionnaire whr i have few question. each one has 2 radio button (yes/no). if value for radio button 'yes' is selected then activate text box to write the comment. if radio button is selected for 'No' then text box should be disable. similarly …

Member Avatar for mm2409
0
930
Member Avatar for mm2409

dear frnds, i hace wrote this code to generate unique id for questionnaire and a query to save it into database with two more value (response id and date) individually i have checked and unique id function is working. even insert query is also executing correctly. but when i put …

Member Avatar for xarz
0
158