<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Make Your Own PHP Quiz (part 2)</title> <atom:link href="http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/feed/" rel="self" type="application/rss+xml" /><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/</link> <description>ElanMan&#039;s Code Snippets</description> <lastBuildDate>Wed, 18 Jan 2012 12:55:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Rogério Barreto</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-325</link> <dc:creator>Rogério Barreto</dc:creator> <pubDate>Sun, 04 Sep 2011 00:06:38 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-325</guid> <description>Very good this iniciative!</description> <content:encoded><![CDATA[<p>Very good this iniciative!</p> ]]></content:encoded> </item> <item><title>By: Mr William Trezon</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-318</link> <dc:creator>Mr William Trezon</dc:creator> <pubDate>Sun, 28 Aug 2011 12:33:48 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-318</guid> <description>lol this is nice</description> <content:encoded><![CDATA[<p>lol this is nice</p> ]]></content:encoded> </item> <item><title>By: hasco</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-151</link> <dc:creator>hasco</dc:creator> <pubDate>Fri, 30 Oct 2009 22:51:06 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-151</guid> <description>I would like to make something with your program something big thousands of examination but that need more scripting if you want to work with me at this send me n email @ hax-net@hotmail.com
Regards,
Hasco</description> <content:encoded><![CDATA[<p>I would like to make something with your program something big thousands of examination but that need more scripting if you want to work with me at this send me n email @ <a
href="mailto:hax-net@hotmail.com">hax-net@hotmail.com</a></p><p>Regards,</p><p>Hasco</p> ]]></content:encoded> </item> <item><title>By: hasco</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-150</link> <dc:creator>hasco</dc:creator> <pubDate>Fri, 30 Oct 2009 22:32:35 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-150</guid> <description>ElanMan
I&#039;m not so programmer I just see and change the code I&#039;m sorry if you understand me wrong.</description> <content:encoded><![CDATA[<p>ElanMan</p><p>I&#8217;m not so programmer I just see and change the code I&#8217;m sorry if you understand me wrong.</p> ]]></content:encoded> </item> <item><title>By: hasco</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-149</link> <dc:creator>hasco</dc:creator> <pubDate>Fri, 30 Oct 2009 22:27:15 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-149</guid> <description>Hi ElanMan,
Testing on your site i have seen the right way but he he at my test is not really oki he he can you put the new download sample with your code ?
Thanks,</description> <content:encoded><![CDATA[<p>Hi ElanMan,</p><p> Testing on your site i have seen the right way but he he at my test is not really oki he he can you put the new download sample with your code ?</p><p>Thanks,</p> ]]></content:encoded> </item> <item><title>By: ElanMan</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-148</link> <dc:creator>ElanMan</dc:creator> <pubDate>Fri, 30 Oct 2009 22:00:44 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-148</guid> <description>Hey hasco,
The answers aren&#039;t printed in order for each question.
Choosing the first answer is not always correct.
If you look at the code in this page, you&#039;ll see a function called shuffle_assoc(). This shuffles the answers accordingly and prints them to the page but keeps the key =&gt; value relationship. So the answers appear in a different order but the &#039;correct answer&#039; always has key[0].
Hope that makes sense :)</description> <content:encoded><![CDATA[<p>Hey hasco,<br
/> The answers aren&#8217;t printed in order for each question.<br
/> Choosing the first answer is not always correct.<br
/> If you look at the code in this page, you&#8217;ll see a function called shuffle_assoc(). This shuffles the answers accordingly and prints them to the page but keeps the key => value relationship. So the answers appear in a different order but the &#8216;correct answer&#8217; always has key[0].<br
/> Hope that makes sense <img
src='http://www.elanman.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: hasco</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-147</link> <dc:creator>hasco</dc:creator> <pubDate>Fri, 30 Oct 2009 21:43:13 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-147</guid> <description>Hi ElanMan,
I have did some programing and this is as follow,
If &quot;all of the correct answers must be first in their respective arrays&quot; I can always know the right answer just for every question choose the first one and every answer will be good.
I have try instead of array(0 =&gt;&#039;Paris&#039;,&#039;Lima&#039;,&#039;Lisbon&#039;,&#039;Edinburgh&#039;), to use
array(&#039;Lima&#039; =&gt;&#039;Paris&#039;,&#039;Lima&#039;,&#039;Lisbon&#039;,&#039;Edinburgh&#039;),
that answer was good but at the end on Result Page i see the changes first the answer is good but the token place is first must be second and the 4 question is not anymore  to see can you help me to configure this I&#039;m just like one our busy with your program is beautiful and would like if you u can help me with this correction.
Thanks</description> <content:encoded><![CDATA[<p>Hi ElanMan,</p><p>I have did some programing and this is as follow,</p><p>If &#8220;all of the correct answers must be first in their respective arrays&#8221; I can always know the right answer just for every question choose the first one and every answer will be good.</p><p>I have try instead of array(0 =&gt;&#8217;Paris&#8217;,'Lima&#8217;,'Lisbon&#8217;,'Edinburgh&#8217;), to use<br
/> array(&#8216;Lima&#8217; =&gt;&#8217;Paris&#8217;,'Lima&#8217;,'Lisbon&#8217;,'Edinburgh&#8217;),</p><p>that answer was good but at the end on Result Page i see the changes first the answer is good but the token place is first must be second and the 4 question is not anymore  to see can you help me to configure this I&#8217;m just like one our busy with your program is beautiful and would like if you u can help me with this correction.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: ElanMan</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-146</link> <dc:creator>ElanMan</dc:creator> <pubDate>Fri, 30 Oct 2009 19:48:48 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-146</guid> <description>Hi hasco, all of the correct answers must be first in their respective arrays. That way, you can easily reference them because you know where they are. If you want to have a correct answer anywhere in the array, you&#039;ll have a lot more work to do.
Sorry if I misunderstood your question :)</description> <content:encoded><![CDATA[<p>Hi hasco, all of the correct answers must be first in their respective arrays. That way, you can easily reference them because you know where they are. If you want to have a correct answer anywhere in the array, you&#8217;ll have a lot more work to do.<br
/> Sorry if I misunderstood your question <img
src='http://www.elanman.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: hasco</title><link>http://www.elanman.co.uk/2009/03/make-your-own-php-quiz-part-2/comment-page-1/#comment-145</link> <dc:creator>hasco</dc:creator> <pubDate>Fri, 30 Oct 2009 19:01:58 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=427#comment-145</guid> <description>When key[0] all the answers will take the first place ?? how to change aray key for example if the answer is on the second place ?. I have try with aray key 1 and 2 but on the answer page get wrong results..?.
Can any one tell me how to fix this ?
Thanks</description> <content:encoded><![CDATA[<p>When key[0] all the answers will take the first place ?? how to change aray key for example if the answer is on the second place ?. I have try with aray key 1 and 2 but on the answer page get wrong results..?.</p><p>Can any one tell me how to fix this ?</p><p>Thanks</p> ]]></content:encoded> </item> </channel> </rss>
