@NogDogJun 18.2007 — #$_GET[$item] is syntactically correct. (You could put double quotes around $item and it would still work, but they are superfluous and would probably add a few nano-seconds to the processing time.) If the entire variable is within a double-quoted string, you'll need to use "complex notation":
@SheldonJun 19.2007 — #also your form name is name="$item" and in your PHP your only looking for $_GET['folder']. Is your form get or post(method)? should those not be the same? and you are using no error checking to check is the data is correct. you have some big security issues.
This is what I am trying to do:
from my form... I am pulling $item names... it is a get FORM [code=html]
@firmanauthorJun 19.2007 — #sorry I copied it wrong... I have the f as an IF.... Also.. it is a GET form
the $_GET['folder'] part works correctly... it is pulling JPG and GIF items out of a certain folder..that it does do.... It is just the $_GET[$variable] or as I have it $_GET[$item] I am having trouble with.
@firmanauthorJun 19.2007 — #no.. i am using $item to give it a name... it is using the name of a picture in a folder as the name of the check box...so if the check box is checked...I know it corresponds to a certain photo... the $item is right....