RE: [PHP-DB] php maximum characters in text field
| From: | Bastien Koert | Date: | Fri, 12 Oct 2007 17:54:42 +0000 |
| Subject: | RE: [PHP-DB] php maximum characters in text field | ||
| References: | 1 2 3 4 5 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44208@lists.php.net to get a copy of this message | ||
Yes, that is the HTML and the PHP code to check. What about the php code to go to the db?
Bastien> Date: Fri, 12 Oct 2007 11:42:25 -0400> From: pvanbuskirk@otc.fsu.edu> To:
Bastien> bastien_k@hotmail.com; php-db@lists.php.net> Subject: RE: [PHP-DB] php maximum characters in text
Bastien> field> > The field on the form is as such: <TEXTAREA
Bastien> name="Customer_Description"> cols=100 rows=10
Bastien> tabindex="44"></TEXTAREA>> > The confirmation page is: <?php echo
Bastien> ($_POST['Customer_Description']);> ?>> > > > From: Bastien Koert
Bastien> [mailto:bastien_k@hotmail.com] > Sent: Friday, October 12, 2007 11:26 AM> To: VanBuskirk,
Bastien> Patricia; php-db@lists.php.net> Subject: RE: [PHP-DB] php maximum characters in text field>
Bastien> > > > And how is the table / field of interest configured? 833 will obviously> not fit
Bastien> into a 255 varchar field...> > Bastien> > > > ________________________________>
Bastien> > Subject: RE: [PHP-DB] php maximum characters in text field> Date: Fri, 12 Oct 2007 11:24:14
Bastien> -0400> From: pvanbuskirk@otc.fsu.edu> To: bastien_k@hotmail.com; php-db@lists.php.net> >
Bastien> The info he was trying to submit was 883 characters, including spaces> (counted in Word). Many
Bastien> times, people have very detailed descriptions> they need to send in. Can you think of a way to
Bastien> work around this> limitation? Also, what happened when he tried to submit is he got an> email
Bastien> back with "Undefined variable" errors wherever the database was> supposed to send back
Bastien> info, and no record was created.> > > > From: Bastien Koert
Bastien> [mailto:bastien_k@hotmail.com] > Sent: Friday, October 12, 2007 11:12 AM> To: VanBuskirk,
Bastien> Patricia; php-db@lists.php.net> Subject: RE: [PHP-DB] php maximum characters in text field>
Bastien> > > > Unless you are using a text field (which holds 64K [mysql]) a normal> varchar maxs
Bastien> out at 255 characters> > Post is limited by the php.ini file amounts (usually in the
Bastien> megabyte> range).> > what is the size of the post?> > Bastien> > > Date:
Bastien> Fri, 12 Oct 2007 10:41:15 -0400> > From: pvanbuskirk@otc.fsu.edu> > To:
Bastien> php-db@lists.php.net> > Subject: [PHP-DB] php maximum characters in text field> > >
Bastien> > Is there a maximum number of character $_POST will/can return from a> > text field. I
Bastien> have an online form that was driving me nuts trying to> > troubleshoot, as most orders were
Bastien> coming in fine, but this one would> > not. I narrowed down to the length of the "customer
Bastien> description" field> > which has no limits on the form or in the database. I was told
Bastien> there> > was a limit to how much $_POST could return. Can someone advise?> > > >
Bastien> > > > > Thanks!> > > > Trish> > > >
Bastien> ________________________________> > Express yourself with free Messenger emoticons. Get them
Bastien> today!>
Bastien> <http://www.freemessengeremoticons.ca/?icid=EMENCA122> >
Bastien> > > > ________________________________> > R U Ready for Windows Live Messenger Beta
Bastien> 8.5? Try it today!>
Bastien> <http://entertainment.sympatico.msn.ca/WindowsLiveMessenger>
Bastien> >
_________________________________________________________________
Send a smile, make someone laugh, have some fun! Start now!
http://www.freemessengeremoticons.ca/?icid=EMENCA122