Hi guys, I have read a lot of posts here for the same problem but I just can't seem to identify the problem in my code (im only a wannabe geek so please use laymans)

Parse error: syntax error, unexpected T_STRING in /home/content/w/e/i/weightlosscand/html/sqz2.php on line 65

here's line 64-66

<input type="hidden" name="unit" value="weightscandal">
<input type="hidden" name="redirect" value="http://freerane.fatsecret.hop.clickbank.net/?tid=<?=$_REQUEST['apid']?" id="redirect_35e84edcbb8a1b7e81776f87d7b6d6ba">
<input type="hidden" name="meta_redirect_onlist" value="">

i appreciate any help!

Recommended Answers

All 3 Replies

<?=$_REQUEST['apid']?"

<?php $_REQUEST['apid'] ?>"

Hi guys, I have read a lot of posts here for the same problem but I just can't seem to identify the problem in my code (im only a wannabe geek so please use laymans)

Parse error: syntax error, unexpected T_STRING in /home/content/w/e/i/weightlosscand/html/sqz2.php on line 65

here's line 64-66

<input type="hidden" name="unit" value="weightscandal">
<input type="hidden" name="redirect" value="http://freerane.fatsecret.hop.clickbank.net/?tid=<?=$_REQUEST['apid']?" id="redirect_35e84edcbb8a1b7e81776f87d7b6d6ba">
<input type="hidden" name="meta_redirect_onlist" value="">

i appreciate any help!

I hope this is not present inside echo statement??
If so, you need to remove it.
Also, you did not close the php tags!!

duh (to me) sometimes you just need a second set of eyes- thanks so much!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.