Hi Simon,
I've had a quick peek, but it's not a simple fix as there seems to be a lot going.
I cannot tell whether the SQL works as it's not pointing at your database, but you seem to be trying to return all rows in the PHP using a loop. This won't work with Opus, you need to return one row at a time or do some clever scripting to build one hell of an array to hold all data as the string. The other bit to populate the box does actually work - sort of. It'll put the value varTwo1 into the box. But then you have some unused function script dropped in that does nothing (?).
I'd take a step back and create a static array such as myList = new Array(1,2,3,4,5,6)
Then solve the script to get the values into the listbox.
Once you've got that working, work on getting the database values in to an (the) array and then connect the two.
Regards,
Mack
_________________ When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.
Interactive Solutions for Business & Education Learn Anywhere. Learn Anytime.
www.interaktiv.co.uk +44 (0) 1395 548057
Last edited by mackavi on December 13th, 2010, 3:16 pm, edited 1 time in total.
|