| 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: Truncation | Chadd Nervig | 7 Jan |
| • Re: Another Newbish Question: Truncation | Stephen Johnson | 7 Jan |
| • Re: Another Newbish Question: Truncation | Paul DuBois | 8 Jan |
| • RE: Another Newbish Question: Truncation | Quentin Bennett | 7 Jan |
