Please help me with this. (Retriving info from mySQL database and then put it in combo box)

From: Date: Sat, 31 Jan 2004 07:50:56 +0000
Subject: Please help me with this. (Retriving info from mySQL database and then put it in combo box)
Groups: php.general 
Request: Send a blank email to php-general+get-176447@lists.php.net to get a copy of this message
Hi all.. I have in my database the fields :"CourseTitle, Language1, Language2, Language3, Language4, Language5, Language6...Etc.." Now what I want to make is : By using an ActiveX Control I want to retrive the values for these fields from the database.. so for example there are many rows there(In the database).. : MS Word XP English French Arabic.... MS PowerPoint XP Chinese French Arabic.....Etc MS Access XP Chinese Japanese English.....Etc I want to retrive these rows and put them in two combo boxes (CourseTitle and CourseLanguage).. the CourseTitle combo box contains the "CourseTitle values from the database. For example : MS Word XP, MS PowerPoint XP, MS Access XP...Etc " and the CourseLanguage combo box contains the "CourseLanguage values from the database for every CourseTitle. For example : MS Word XP has Englsih,French and Arabic languages.. so if the user chose MS Word XP then the CourseLanguage will show the languages for that Course.." I hope you got my meaning.. So what I want is to import from the database then split these info into items inside the Combo box.. Best Regards..

« previous php.general (#176447) next »