You need double quotes around the value. E.g., <input type=hidden name=quiz[owner_name] value="$quiz[owner_name]">
----- Original Message ----- From: "Jule" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 6:27 PM Subject: [PHP] method=post problem Hey guys and gals, i have a form with method=post which sends <input type=hidden name=quiz[quiz_title] value=$quiz[quiz_title]> <input type=hidden name=quiz[owner_name] value=$quiz[owner_name]> <input type=hidden name=quiz[owner_email] value=$quiz[owner_email]> <input type=hidden name=quiz[number_answers] value=$quiz[number_answers]> <input type=hidden name=submitted value=TRUE> to the same page, and picks it up in an if ($submitted) {....} loop. but now here's the problem: when it comes back and goes into the loop. Only the first name from $quiz[owner_name] is left, so where it used to be John Doe, is now only Joe. how do i fix this? thanks Jule -- |\/\__________________________/\/| | Jule Slootbeek | | [EMAIL PROTECTED] | | http://blindtheory.cjb.net | | __________________________ | |/\/ \/\| -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php