On Wed, May 15, 2002 at 09:27:55PM -0400, Jule wrote: > > <input type=hidden name=quiz[owner_name] value=$quiz[owner_name]> > > 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.
You're missing quotes around the attribute values. Thus, the system is assuming only the first thing following the value is the value. Write your HTML up to spec and you'll be fine. echo '<input type="hidden" name="quiz[owner_name]" value="' . $quiz['owner_name'] . '" />'; --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php