PDA

View Full Version : PHP Text Fields



Drompo
19-01-2007, 05:18 PM
I have this code

<input type=\"text\" name=\"Message\" size=\"20\">

But i need a bigish text box, when i try a textbox code it says
[QUOTE]Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in *Removed"/QUOTE]

Please Help

Mentor
19-01-2007, 06:56 PM
You need to give a clue about the surrounding syntax if you want any real answers, with this all i can do is vaigly guess, the code ether isnt in an echo at all, or your neglected to add a ; somewhere before. But you need to show some surroundig code if you want people to have a clue whats up with that code

Nether$
19-01-2007, 07:02 PM
Do you mean you want a textarea like this?

copy and paste this in your address bar to see what i mean:



javascript: document.write("This is a textbox: <input type='text' size='20'><br>This is a textarea: <textarea name='textarea' cols='20' rows='5'></textarea>")

Drompo
19-01-2007, 07:08 PM
Its ok, i've found it now

Want to hide these adverts? Register an account for free!