[PHP] Re: drop down menu populated from a directory

2004-06-01 Thread Torsten Roehr
"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ok - here is the relevant Quicktime code: > > > width="320" height="256" > codebase="http://www.apple.com/qtactivex/qtplugin.cab";> > > > value="http://www.apple.com/quicktime/download/indext.html";> > >

[PHP] Re: drop down menu populated from a directory

2004-05-31 Thread Dustin Krysak
Ok - here is the relevant Quicktime code: http://www.apple.com/qtactivex/qtplugin.cab";> http://www.apple.com/quicktime/download/indext.html";> http://www.apple.com/quicktime/download/indext.html"; target="myself"> Now I figure - getting the file name in there would be prett

[PHP] Re: drop down menu populated from a directory

2004-05-31 Thread Torsten Roehr
"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ok, I added brackets and made my code to: > > if ($handle = opendir('../../../mov')) { > while (false !== ($file = readdir($handle))) { > > if ($file != '.' && $file != '..') { > > $fileName = str

[PHP] Re: drop down menu populated from a directory

2004-05-31 Thread Dustin Krysak
ok, I added brackets and made my code to: if ($file != '.' && $file != '..') { $fileName = str_replace('.mov', '', $file); echo '' . $fileName . ''; } } closedir($handle); } ?> when viewing my page in a browser, it worked! Now what I am hoping to do is

[PHP] Re: drop down menu populated from a directory

2004-05-30 Thread Torsten Roehr
"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there > > What I am hoping to do is have a drop down menu that would be populated > from the contents of a directory via php. Now The link names would be > generated by the file name minus the file extension. Has a

[PHP] Re: Drop Down Menu

2001-07-28 Thread Jonas Delfs
"Manu Verhaegen" <[EMAIL PROTECTED]> skrev i en meddelelse E10E651CDD2DD5118912E8E8C70F53D0@COMPUVER01">news:E10E651CDD2DD5118912E8E8C70F53D0@COMPUVER01... > I have the following question : if i make a selection in the drop down menu > and click on submit button then the color will send t