What exactly is an unterminated string constant, and how do I get rid of it?
<a href="#" onclick="window.open('https://www.paypal.com/cart/add=1&business=Sirus%40peoplepc.com&item_name=<? echo "$item" ?>&amount=<? echo "$output[0]" ?>&item_number=<? echo "$output[3]" ?>','cartwin','width=600,height=400,scrollbars,location,resizable,status');">
That is the line it is happening on.
If I remove the amount=<? echo "$output[0]" ?> and replace it with amount=2 then it works just fine. How can I fix this?
Also, sorry I have been asking so many questions lately.
-Jeff






Bookmarks