mysql - Textarea Being Picky over Input -
in text area:
<textarea rows="12" cols="76" name="skills" input id = "skills" placeholder="skills:" class = "textbox" ><?php echo $skills; ?> </textarea>
it being picky on accepts. example wont accept apostrophe's on own line , wont accept bunch of commas on own line. how can make text box accept everything? note: characters can typed in, wont saved in mysql database.
here code use save contents of text area mysql database.
session_start(); $id=$_get['id']; // connect server , select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select db"); // data sent form $bio=$_post['bio']; $sql = "update members set bio = '$bio' id = $id"; $result=mysql_query($sql); mysql_close(); header("location:userprofilesettingsupdated.php"); ?>
Comments
Post a Comment