Re: Text truncated by PHP when pulled from DB!!

From: Date: Tue, 08 Aug 2000 15:42:53 +0000
Subject: Re: Text truncated by PHP when pulled from DB!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10716@lists.php.net to get a copy of this message
addslashes to the text before putting it into the databasse in the first place. try that. On Tue, 8 Aug 2000, Martin Thoma wrote: > Zack Beatty wrote: > > > > Any information that I pull from my SQL Server database gets cut off after a > > certain number of characters (after approx. 5 or 6 paragraphs). I am using > > a field of type "text" with the maximum length of 16. When I get the field > > data, only half of the paragraph is outputted by PHP. When I manually go > > into the database, I can > > copy the entire row (and paste it into notepad) to determine that THE DATA > > IS successfully in the database (in complete form)! It just gets "chopped > > off" before being parsed by PHP and displayed as HTML. Any suggestions > > would be appreciated. > > ... are you sure, that there are now special-characters in the field ? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#10716) next »