On Wed, 15 May 2002, Jule wrote:
> <input type=hidden name=quiz[owner_name] value=$quiz[owner_name]>
> 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?

Your HTML is invalid. You have to quote non-numeric values.

  <input type=hidden name=quiz[owner_name] value='$quiz[owner_name]'>

Otherwise it ends up looking like:

  <input type=hidden name=quiz[owner_name] value=John Doe>

and it thinks "Doe" is some other attribute to the input tag.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to