Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder
    Join Date
    Feb 2006
    Posts
    149
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Parse error T_CONSTANT_ENCAPSED_STRING

    Hello, and good afternoon

    Ok, I got an error,

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/pgn/public_html/game3.php on line 73
    I will make line 73 RED

    code removed
    Anyone know what that means? Thanks in advance
    Last edited by Al Capone; 02-13-2006 at 04:16 AM.

  • #2
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    use [ code ] or [ php ] instead of [ quote ] .. using the [ code ] / [ php ] tag will make it scroll in a box. it didn't look like there was a syntax error and when I tested the file it did not produce any errors.

  • #3
    Regular Coder
    Join Date
    Feb 2006
    Posts
    149
    Thanks
    0
    Thanked 0 Times in 0 Posts
    maybe because I am using php5

  • #4
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Al Capone
    maybe because I am using php5
    sounds extremely unlikely based on the code so I tested on a box that was running php5. no problems.

  • #5
    Regular Coder
    Join Date
    Feb 2006
    Posts
    149
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't know, maybe it's somewhere else in the script, here's the link to the error
    site not done

    and here is the ENTIRE script

    Code:
     script removed
    Do you see a problem with the script that causes that message? the red line is line 67, i dont see the problem.

    if anyone sees the problem please tell me, thanks in advance
    Last edited by Al Capone; 02-13-2006 at 04:18 AM.

  • #6
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    right here:
    Code:
      echo ' </td>
    
                        <tr> 
                          <td><div align="center"><br>
    <center>';
    in the line preceding the error, that should be the fix, you needed the ';

  • #7
    Regular Coder
    Join Date
    Feb 2006
    Posts
    149
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks but now... the problems on line 61

    Code:
     removed
    I have no clue whats wrong with line 61, all it is is <?php (kinda wierd... ) anyways, i would be greatful if you could help me with that too thanks -- oh yeah, exact message is here site not done
    Last edited by Al Capone; 02-13-2006 at 04:18 AM.

  • #8
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    oh, of course, just remove that line. sorry I didn't catch that earlier.

  • #9
    Regular Coder
    Join Date
    Feb 2006
    Posts
    149
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Forget it man, it's not working, i can do without it but it'll be tough... thanks anyways =/ im just pissed cus i wasted like 2 days trying to get this to work =/ o'well...
    Last edited by Al Capone; 02-13-2006 at 04:24 AM.


  •  

    Posting Permissions

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