chezlouise1980 Posted March 10, 2005 Share Posted March 10, 2005 I would like to put a paypal logo on my site and the instructions are to copy and paste the html code and insert it into my homepage as i would with text. When i do this, i get a parse error unexpected t string on my site. Can someone check the html code for me and suggest another way to add it onto my home page? Here is the paypal code <!-- PayPal Logo --><table border="0" cellpadding="10" cellspacing="0" align="center"><tr><td align="center"></td></tr> <tr><td align="center"><a href="java script:window.open('https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no', width='400', height='350');"><img src="https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif" border="0" alt="Solution Graphics"></a></td></tr></table><!-- PayPal Logo --> Thanks in advance, Cheryl Link to comment Share on other sites More sharing options...
boxtel Posted March 10, 2005 Share Posted March 10, 2005 I would like to put a paypal logo on my site and the instructions are to copy and paste the html code and insert it into my homepage as i would with text. When i do this, i get a parse error unexpected t string on my site. Can someone check the html code for me and suggest another way to add it onto my home page? Here is the paypal code <!-- PayPal Logo --><table border="0" cellpadding="10" cellspacing="0" align="center"><tr><td align="center"></td></tr> <tr><td align="center"><a href="java script:window.open('https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no', width='400', height='350');"><img src="https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif" border="0" alt="Solution Graphics"></a></td></tr></table><!-- PayPal Logo --> Thanks in advance, Cheryl <{POST_SNAPBACK}> you can put this anywhere as long as you do not pass it to php. So make sure it is outside <?php ?> tags. Treasurer MFC Link to comment Share on other sites More sharing options...
chezlouise1980 Posted March 10, 2005 Author Share Posted March 10, 2005 you can put this anywhere as long as you do not pass it to php.So make sure it is outside <?php ?> tags. <{POST_SNAPBACK}> Thanks Amanda but still cant do it. Tried putting it at end of file and it placed it above the header. Do i have to close php ?> then reopen <? to enable me to place it? Thanks again, Cheryl Link to comment Share on other sites More sharing options...
boxtel Posted March 10, 2005 Share Posted March 10, 2005 Thanks Amanda but still cant do it. Tried putting it at end of file and it placed it above the header. Do i have to close php ?> then reopen <? to enable me to place it? Thanks again, Cheryl <{POST_SNAPBACK}> well yes, if you add it in between php code use : ..... ?> your html <?php .... Treasurer MFC Link to comment Share on other sites More sharing options...
chezlouise1980 Posted March 10, 2005 Author Share Posted March 10, 2005 well yes, if you add it in between php code use : ..... ?> your html <?php .... <{POST_SNAPBACK}> Still no joy! I manage to change my home page text with no bother using html so can't figure out why i can't add the logo! Thanks anyway Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.