Hello, after a little break ( i really needed it ;P), i tried to get this thing wotkig again. I changed action to .$PHP_SELF. and i added the echo to test if it works: echo $_POST['test']; But still emtpy, what do i do wrong?
<?php echo ' <form name="test" action="'.$PHP_SELF.'" method="POST"><br> <select id="colorPicker" onChange="changeColor(this.options[this.selectedIndex].value)"> <option>Background Color <option value="0000FF">Blue <option value="FF0000">Red <option value="00FF00">Green <option value="000000">Black </select> <input type="submit" value="Click To View Submission"> </form> '; echo $_POST['test']; ?> </body> </html> > From: Jay Blanchard [mailto:[EMAIL PROTECTED]] > > > [snip] > > Did you put a closing form tag? </form> > you are right, the closeing tag was missing, well, it still doesnt > work/stays emty ;/ > [/snip] > > Does this form refer to itself, or another page? Also, like > Justin said, > echo the variable before writing to a directory to see what is getting > written, if anything. > > Jay > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php