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

From: Date: Sat, 31 Jan 2004 09:26:51 +0000
Subject: Re: Please help me with this. (Retriving info from mySQL database and then put it in combo box)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-176454@lists.php.net to get a copy of this message
Hello This is a PHP list not an activex list. Radwan Aladdin wrote:
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..
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.

« previous php.general (#176454) next »