On Thu, 2005-04-14 at 07:57 +0000, Chris Harris wrote: I am pretty new to this, so I am not sure if this will help you or not. Try changing your first line to this (excess code removed for brievity):
Original: > <form action='<? echo $_SERVER['PHP_SELF']; ?>' method='post'> > <? > echo "Picture name <input type='text' name='picname' size='40' > maxlength='40' value='$picname' /><br /> > <select name='piccountry'> \n"; Change to this: <? echo "<form action='". $_SERVER['PHP_SELF']; ."' method='post'>"; echo "Picture name <input type='text' name='picname' size='40' maxlength='40' value='$picname' /><br /> <select name='piccountry'> \n"; Basically I just moved the first line into an echo statement. Then moved the $_SERVER variable so that it wasn't directly inside the quotes. I have noticed that sometimes, PHP doesn't expand the _SERVER variable when it is directly inside the quotes. Hopefully this makes some sense and will help you out. -- Doug Registered Linux User #285548 (http://counter.li.org) ---------------------------------------- Random Thought: Go climb a gravity well! The PHP_mySQL group is dedicated to learn more about the PHP_mySQL web database possibilities through group learning. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php_mysql/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
