drop down menu |
drop down menu |
tudsy |
Aug 15 2016, 07:41 PM
Post
#1
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
)Hi
I am still having problems in trying to come up with a drop down menu. I have attached the full code and the resulting output (screenshot). The main problem is that I am not generating the options in the drop down menu. Can anyone help? Thanks. Attached thumbnail(s) Attached File(s) code.txt ( 5.36k ) Number of downloads: 983 |
tudsy |
Aug 20 2016, 11:51 AM
Post
#2
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
I used glob() and it works!. It creates the menu (drop down) but it still does not load the picture as you select it. I will work on it. Thanks. foreach(glob("/home/ecovibdc/public_html/ECOVIB2D/MYART/".$pname."/Graphicw/*.bmp") as $files1){ $files1 = basename($files1); $options= "<option value=".$files1.">".$files1."</option>"; echo "$options"; } |
Lo-Fi Version | Time is now: 14th June 2024 - 10:18 AM |