#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    1
    Rep Power
    0
    what does this error mean, and what might be wrong with my code? i am using the code from the guestbook example from this site, pretty much exactly as it is done, so i can learn from it...and i'm getting errors, but i can't seem to find any typing errors i've made (that i haven't already fixed).
    anyone know what it is?
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15

    <<
    what does this error mean, and what might be wrong with my code?
    >>


    Just post that portion of code here...


    ------------------
    SR -
    webshiju.com
    www.jobxyz.com-IT Career Portal
    ezipindia.com--WebStudio


    "The fear of the LORD is the beginning of knowledge..."
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    1
    Rep Power
    0
    $entry = explode ("!", $entries[$counter]);

    this is what i counted as line 57. it is word for word what the code is in the example.

    the exacet error is (and the number gets bigger each time i run it):
    Warning: Undefined offset: 12 in guestbook.inc on line 57

    line 57 is part of guestbook.inc, which is the guestbook class.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    1
    Rep Power
    0
    nevermind! i got. damn semicolons....=)

Similar Threads

  1. Need help getting rid of 'Undefined offset: 1'
    By jabba_29 in forum PHP Development
    Replies: 4
    Last Post: February 16th, 2004, 05:15 PM
  2. Relative Path
    By MrT in forum Apache Development
    Replies: 2
    Last Post: February 12th, 2004, 07:05 AM
  3. Opening file, finding line, then inserting new line
    By mach5 in forum Perl Programming
    Replies: 2
    Last Post: February 5th, 2004, 12:00 AM
  4. Help!
    By ol4pr0 in forum PHP Development
    Replies: 2
    Last Post: January 21st, 2004, 12:24 PM
  5. phpNuke Problem
    By summer00 in forum PHP Development
    Replies: 3
    Last Post: January 8th, 2004, 09:29 AM

IMN logo majestic logo threadwatch logo seochat tools logo