Page 1 of 1

POST method and space problem

Posted: Tue Apr 04, 2006 2:34 pm
by powerPT
Hi guys! First, congratulations from Portugal, this website and forum are amazing! Great articles/tutorials!

Well, with this image is more easy to understand:

Image

When I click on that button, the variable $valor assumes the value "LALA". I wish that this variable get the full value, in this case "LALA lafjsa..." (no, this is not any language :lol: ). The problem is in space between words :?

Any solution?

Thanks in advance!

Posted: Tue Apr 04, 2006 2:37 pm
by feyd
place quotes around the attribute values like so

Code: Select all

<option value="asdf 1234">some text</option>

Posted: Tue Apr 04, 2006 3:04 pm
by powerPT
OMG, so simple! :oops:

Thanks!