SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Not Bad, eh? Justin Sampson's Avatar
    Join Date
    Aug 2000
    Location
    N.S., Canada
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey,
    I'm trying to grab the first 200 characters from a cell in my mySQL database. When I use LEFT(body,X), if X is higher then 50 I get nothing. Is there a differnt way to select the first X number of characters?

    Thanks,
    Justin Sampson

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There shouldn't be are yo usure your fields isn't set to 50 characters and your data was cutoff at 50 characters
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •