Help with a Bug.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
emack113
Forum Newbie
Posts: 3
Joined: Thu Jun 24, 2004 8:53 am

Help with a Bug.

Post by emack113 »

Please Help...

I have a content managent systems that allows the user to edit and add articles to news pages on the site. The problem I have is that when you insert more than 1200+ characters into a textarea that is created by php. It doesn't allow them to be posted to the database. This happens on both the edit articles and add a new article. It seems like it may be a form problem or a javascript problem not on the database side..
Everything else works just the lenght of the articles doesn't work.
. the test server is http://www.njalive.com/quantifiNew/adminlogin.php.
The Test ID and password are test test

I am new to PHP and the person that wrote the code is unavailable at this time.
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

The database field this information is being inserted into - is it a 'longtext' field?
emack113
Forum Newbie
Posts: 3
Joined: Thu Jun 24, 2004 8:53 am

Post by emack113 »

yes it is a long text..
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Hmm - I don't think this is a database problem - if you have too many characters then nothing happens when you hit the 'Submit' button - this is probably an error with your Javascript but I'm not good enough at JS to tell you what it is.
emack113
Forum Newbie
Posts: 3
Joined: Thu Jun 24, 2004 8:53 am

Post by emack113 »

Thank you for your time . I appreciate it. I will try to take a look at the JS
Post Reply