Trying to simplify my php script using a ternary control:
[php]<FORM $ACTION=<?PHP echo($TEST) ? ‘"$_SERVER[‘PHP_SELF’]"’;
: ‘“https://www.paypal.com/cgi-bin/webscr”’; METHOD=“POST”;?>[/php]
This throws a syntax error ’ unexpected T_STRING’. So far, I can’t find it.
In the past, I’ve fixed these, but not this one.
Any suggestions appreciated
usit