I had no option but to ask you pros to help me out.
Well,I have a HTML form that allows the user input a message and a name.I wanted to set the message's maximum byte to 600-byte and set the name's max byte to 30 byte, but should I use the php to set the limit of user input? If there is a way to handle it in php I would want to know .
<form id="formed" action="second.php" method="post">
<textarea rows="5" cols="20" name="text" id="text"></textarea><br />
<input type="text" name="name" id="name"/><br />
<input type="submit" name="sub" id="sub"/><input type="button" id="display" value="display">
</form>