Questions in random order

a complete ready to use php survey system

Questions in random order

Postby Mersan » Mon Dec 15, 2003 4:47 pm

Hello
Now the questions are appearing in random order like 9, 2, 3, 7, 8, 6 etc.

I can't find any mention of this in the documentation.

Thanks and cheers ron
Mersan
 
Posts: 4
Joined: Mon Dec 15, 2003 12:57 am

Postby nabocorp » Mon Dec 15, 2003 4:56 pm

Hello,

do you have a URL where I can see that? Send it to me by mail: info at nabocorp.com.

Regards,
nabocorp
nabocorp
Site Admin
 
Posts: 627
Joined: Thu Nov 07, 2002 6:46 pm

Postby DCurtiss26 » Sat Oct 16, 2004 5:42 am

I had this same problem. After looking in the PHP a little, I found the problem and offer the fix here.

vote_1page.php, line 30 should read:
$res_question = mysql_query("select * from nabopoll_questions where survey=$survey order by id");

The problem was the 'order by id' phrase was not included. I hope this helps someone else, too!
DCurtiss26
 
Posts: 1
Joined: Sat Oct 16, 2004 5:39 am


Return to nabopoll

Who is online

Users browsing this forum: No registered users and 15 guests

cron