Web Analytics Made Easy -
StatCounter rawurlencode and variable? - CodingForum

Announcement

Collapse
No announcement yet.

rawurlencode and variable?

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

  • rawurlencode and variable?

    PHP Code:
    "<a href="rawurlencode("$link")">$link</a>"
    can i do this?....it doesnt give me a parse error, but it doesnt work also.......is there a way around it?.......i can't put the site instead of the variable because the variable is a $_SERVER['HTTP_REFERER'];

  • #2
    PHP Code:
    print "<a href=\"" rawurlencode($link) . "\">" $link "</a>"
    -Celt

    Comment

    Working...
    X