SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2002
    Location
    Melbourne, Australia
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MYSQL Dropping a line

    Hi,

    I'm new to PHP and MYSQL, but enjoying the learning curve...

    I've been messing around trying to create a small CMS, and have hit a wall.

    I've set up a MYSQL field of type TEXT to store the html code from my pages.

    It stores OK but when I change something and try to update it, it seems to drop the top line of the html code in the field.

    I have no idea why, and was hoping someone might have a suggestion to help me fix it.

    -James

  2. #2
    No. Phil.Roberts's Avatar
    Join Date
    May 2001
    Location
    Nottingham, UK
    Posts
    1,142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not without seeing your code.....

  3. #3
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please do not create duplicate threads.

    "When I change something and update it" -- what do you mean? What are you doing?
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky


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
  •