velo1ever Posted February 27, 2008 Posted February 27, 2008 I am trying to put this code into a box, and I receive the following error, but when I put it into the main/index page, it works. The error is happening within the first line, but here is the error and the code: Parse error: syntax error, unexpected T_STRING, expecting ')' '<form style="border:0px solid #ccc;padding:3px;text-align:center;" action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1697582', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><p>Enter your email address:</p><p><input type="text" style="width:140px" name="email"/></p><input type="hidden" value="http://feeds.feedburner.com/~e?ffid=1697582" name="url"/><input type="hidden" value="Girls Know What They Want.com--"Where Our Customers Come First!"" name="title"/><input type="hidden" name="loc" value="en_US"/><input type="submit" value="Subscribe" /><p>Delivered by <a href="http://www.feedburner.com" target="_blank">FeedBurner</a></p></form>'); Any idea's? I am not too much into code, learning as I go, and I can't figure this one out. Thanks!!
Guest Posted February 27, 2008 Posted February 27, 2008 the ' are likely casuing the problem. escape them when possible, with: \' it tells php not to parse, but to interpret them as plain text.
velo1ever Posted February 27, 2008 Author Posted February 27, 2008 Putting a \ in the front, gave me another error. The odd thing, I can put the same exact code into the main page, and it will work, but once I put the code into a box, it will not work. Any other idea's? Thank you looking
Recommended Posts
Archived
This topic is now archived and is closed to further replies.