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@strippedhttp://www.pets4u.com
Owner / Founder
****
-- your next best friend is waiting for you --

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.