Re: [PHP] Directory to array to select box...

2002-04-05 Thread Miguel Cruz
On Fri, 5 Apr 2002, Jas wrote: > So adding a hidden field would definately pass the contents of the select > box to the other script so I am not doing anything wrong with this portion, > but what if I wanted to append the path of the file name? Any tips? This isn't an answer to your question, but

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
: Re: [PHP] Directory to array to select box... Sorry, here is what I have thus far... everything is working except I am just not sure how to pass the result of the users selection to another script, I have added the hidden input type to try and solve it but I think I am doing something wrong, maybe

Re: [PHP] Directory to array to select box...

2002-04-05 Thread Jas
Sorry, here is what I have thus far... everything is working except I am just not sure how to pass the result of the users selection to another script, I have added the hidden input type to try and solve it but I think I am doing something wrong, maybe I need to put the hidden input type on the se

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
, April 05, 2002 10:22 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Directory to array to select box... So adding a hidden field would definately pass the contents of the select box to the other script so I am not doing anything wrong with this portion, but what if I wanted to append the path of the

Re: [PHP] Directory to array to select box...

2002-04-05 Thread Jas
So adding a hidden field would definately pass the contents of the select box to the other script so I am not doing anything wrong with this portion, but what if I wanted to append the path of the file name? Any tips? Thanks, jas -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
I must be missing something. Just add a HIDDEN type in your form. It will be sent with all your form data. -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:14 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Directory to array to select box... Hey

Re: [PHP] Directory to array to select box...

2002-04-05 Thread Jas
Hey Rick, thanks a ton... you have helped me out alot on this list. I got the code working probably about the same time you and another gentleman posted the same fixes I made, however I now have another question about adding a hidden field to take the results of the users selection and passing it

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
Since I ran this on Win2000 machine, I changed name of directory: You were right on the money with your code; just a minor mod or two was required: $filex\n"; } $form = "\n". "$file_count\n". "\n". ""; // close directory closedir($dir); print $form; ?> outputs the following: . .. activities.txt