Web Analytics Made Easy -
StatCounter T_CONSTANT_ENCAPSED_STRING [fixed] - CodingForum

Announcement

Collapse
No announcement yet.

T_CONSTANT_ENCAPSED_STRING [fixed]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • T_CONSTANT_ENCAPSED_STRING [fixed]

    Hi,

    I keep getting

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/home/sony/public_html/rank.php on line 13
    when trying to access my PHP script. It must be something to do with my 's, but I can't work it out (I've only started using PHP)

    Line 13 is as follows:

    PHP Code:
    $ret curl_setopt($chCURLOPT_URL,            'http://hiscore.runescape.com/lang/en/aff/runescape/overall.ws?rank='.$_REQUEST['r']'&table='.$_REQUEST['s']''); 
    Any help is appreciated,
    SB2
    Last edited by SB2; Oct 15, 2006, 02:23 PM.

  • #2
    You want another full stop between $_REQUEST['r'] and '&table='.
    Geoffrey Sneddon

    Comment


    • #3
      Originally posted by Error 404 View Post
      You want another full stop between $_REQUEST['r'] and '&table='.
      Thanks! It's working perfectly now

      Comment

      Working...
      X