Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ferdinandmucos

Having these questions and answers hard coded. I want to be able to read them from a text file and load the arrays questions with questions from questions.txt while also read answers array from answers.txt. but at the same time maintain my data structures used. How should I go about …

Member Avatar for arunmagar
0
262
Member Avatar for ferdinandmucos

I'm not well conversant with java or AJAX, but how can i read each line of a string display each line of question and answers at a time, after a user have answered the question id displays the next question upto the last one. Im using fget () n php …

Member Avatar for diafol
0
306
Member Avatar for ferdinandmucos

With the following text file $string = '1) The most important feature of spiral model is: requirement analysis. Risk management. quality management. configuration management 2) The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3) One of the fault base testing techniques is: Unit testing. …

Member Avatar for ferdinandmucos
0
198
Member Avatar for ferdinandmucos

How do I post the following through a form? $answers = $_POST['selected_answers$questionNr']; Every time I post the browser displays the following: I see the following error Notice: Undefined index: selected_answers{$questionNr} This is the code I am using to $_POST the form output: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> …

Member Avatar for ferdinandmucos
0
236
Member Avatar for ferdinandmucos

How do I Change the select option to check boxes in the following code: foreach($qas as $k=>$v) { echo "<input id='text' style='width:40%' type='text' value='".$v['question']."' name='questions[]' >"; echo "<select name='selected_answers[]'>"; foreach($v['answers'] as $answer){ echo "<option value='".$answer."'>".$answer."</option>"; } echo "</select>"; echo "<br/><br/>"; }

Member Avatar for ferdinandmucos
0
242
Member Avatar for ferdinandmucos

Having a text file: $string = '1) The most important feature of spiral model is: requirement analysis. risk management. quality management. configuration management 2) The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3) One of the fault base testing techniques is: unit testing. beta …

Member Avatar for ferdinandmucos
0
935
Member Avatar for ferdinandmucos

The two arrays does not compare and compute by adding one for every similar and 0 if otherwise I don't know what is wrong with the codes, but to me is seems fine. What might be the problem? <html> <head> <title>Chosen answers</title> </head> <body> <pre> <?php //Posting of the chosen …

Member Avatar for diafol
0
164
Member Avatar for ferdinandmucos

I have this text file that contain questions and their respective four multiple answers, when I try to display them in html form, the diplay only contains three multiple answers and not four. this are the codes: Text file: $string = 1) The most important feature of spiral model is: …

Member Avatar for paulkd
0
196
Member Avatar for ferdinandmucos

I have a text file: $string = '1 The most important feature of spiral model is: requirement analysis. risk management. quality management. configuration management 2 The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3 One of the fault base testing techniques is: unit testing. …

Member Avatar for ferdinandmucos
0
452