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

    Join Date
    Aug 2000
    Location
    City, State, Country
    Posts
    12
    Rep Power
    0
    Hello, I just made a fairly large script, and when I ran it, it gave me this error:
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>
    Parse error: parse error, expecting `T_STRING' in crogram filesapache groupapachehtdocsphperror.php on line 85
    [/quote]
    Heres a section of code(w/ line #'s) surrounding that line.

    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
    80 <?php
    81 bottomhtml();
    82 }
    83
    84
    85 function 400() {
    86 tophtml();
    87 ?>
    [/code]

    I would really really appriceate any help you can provide, thanks!!=)
    AIM: PRMMAGIC
    ICQ: 77968493
    EMAIL: nobodysreal@hotmail.com
    I also check back here often!

    ^N|R

    ------------------
    NobodysReal@hotmail.com
    Aim: PRM Magic
    ICQ: 77968493
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    24
    Rep Power
    0
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Nobodys Real:

    84
    85 function 400() {
    86 tophtml();
    87 ?>
    [/quote]

    I am not too sure about this but i think the problem is that you named the function 400. I don't think you can start a function name with a number

  4. #3
  5. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15

    <<
    I am not too sure about this but i think the problem is that you named the function 400. I
    don't think you can start a function name with a number
    >>


    Yea,That is very correct.You can't give a number for the function name.

    probably you may give a name with some charaters and numbers(i mean string).

    eg: s400();



    ------------------
    SR -
    webshiju.com

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

    Join Date
    Aug 2000
    Location
    City, State, Country
    Posts
    12
    Rep Power
    0
    Thanks guys, i am going to fix it right away!
    =)

    ^N|R

    ------------------
    NobodysReal@hotmail.com
    Aim: PRM Magic
    ICQ: 77968493

IMN logo majestic logo threadwatch logo seochat tools logo