List:General Discussion« Previous MessageNext Message »
From:Stephen Johnson Date:January 7 2001 8:04pm
Subject:Re: Another Newbish Question: Truncation
View as plain text  
It looks to me that you are doing that in a  PHP script -- I do not think
that left() is a valid PHP function.  You can use left() function in MySQL
but not in PHP.  

For PHP you should do

$string = substr($myrow, 0,512);
echo"$string";

-- 
****
Stephen Johnson 
stephen@stripped 
http://www.pets4u.com
Owner / Founder 
****
-- your next best friend is waiting for you -- 

Thread
Another Newbish Question: TruncationChadd Nervig7 Jan
  • Re: Another Newbish Question: TruncationStephen Johnson7 Jan
  • Re: Another Newbish Question: TruncationPaul DuBois8 Jan
RE: Another Newbish Question: TruncationQuentin Bennett7 Jan