For some reason, certain fields on a form I am designing are being cut! These are ordinary text fields on an HTML form that are filled via PHP from a database. The programming works, since the boxes are correctly filled, but some are having their contents cut. The ones that are suffering all seem to have their contents cut at the first 'space' character. The email text box displays correctly - there are no spaces in an email address.
For example, I have a text field which (using an example) should say
"British Fuma Ryu ninjitsu society" but only "British" actually appears in the box. Here's the box:-
- <td><?php echo "<input type='text' name='club' value=$theclub size='50' maxlength='50'>"; ?></td>
Both maxlength and size are set to 50, and in the DB the data type is char(50) so why does there seem to be a problem with the space character?
Help!