[PHP-DB] Word Activity Application

2011-01-02 Thread Ron Piggott
I am working on a word activity --- matching words and their definitions. I want to display 5 words on the left hand side and the 5 definitions on the right hand side. But I want the definitions displayed in a different order than the words so the user submits their answer. Should I use

[PHP-DB] Re: Word Activity Application

2011-01-02 Thread Ron Piggott
The FOREACH below is giving me the error: Invalid argument supplied for foreach() Does anyone understand what I have done to cause this error? #query for words $query = SELECT `reference` , `word` , `explanation` FROM `Bible_dictionary` WHERE `live` =1 ORDER BY RAND( ) LIMIT 5 ;