Any PHP expert here?

by Johnson Tay 2 replies
Xsitepro seems to have problems interpreting PHP code

In Xsitepro, I appended a PHP code to my Clickbank affiliate link so that it looks like this...

h**p://myaffiliateid.panicaway.hop.clickbank.net/?tid=<?php echo $var; ?>

but when I previewed it, it turned out to be like this...

h**p://myaffiliateid.panicaway.hop.clickbank.net/?tid=%3CSPAN%20id=SCRIPT_PLACEMARK+00447842309%20c ontentEditable=false%20style=

Something is definitely wrong here as it'd usually appear like this if it's functioning properly...

h**p://myaffiliateid.panicaway.hop.clickbank.net/?tid=

Any idea what that long line of gibberish mean?

PS: The asterisks were added intentionally
#main internet marketing discussion forum #expert #php
Avatar of Unregistered
  • Profile picture of the author SuzanneH
    Are you sure your variable -- $var -- is set properly? Because at first glance, it seems that $var is equal to "%3CSPAN%20id=SCRIPT_PLACEMARK+00447842309%20c ontentEditable=false%20style=" (or <SPAN id=SCRIPT_PLACEMARK+00447842309 c ontentEditable=false style=")

    You'd have to look into how your variable $var is being set.

    Suzanne
    {{ DiscussionBoard.errors[68288].message }}
    • Profile picture of the author BIG Mike
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[68291].message }}
      • Profile picture of the author Johnson Tay
        Thanks guy for your help!

        I've found a solution already
        {{ DiscussionBoard.errors[68307].message }}
Avatar of Unregistered

Trending Topics