T
|
thesofa author 2/1/2007 |
I have a table in use with a mediumtext field, called `comments`, second from the end of the table `comments` has nodefault value in the mysql table definition and it is allowed null. In the visual editor for the add page, I have set the properties as a text area, 300 by 200 with a default value of "" to give an empty string in the field. The field after this logs the ID of the logged in user, determined from the initial login page and stored in the session variable $_SESSION["id"] This is a number. when I save a record, the comments field shows and saves the name in my users table which corresponds to the number given by $_SESSION["id"]. Even if I type some words in the mediumtext text area, all that is saved is as above. Is this a bug? Or am I still getting this wrong?????
|