Kyrsten Posted May 2, 2007 Share Posted May 2, 2007 I recently signed up for HitTail but unfortunately their script, which is supposed to be inserted into footer.php according to their instructions is in Java Script and gives me a syntax error on my site when I do so. Are there any general rules to convert Java Script into PHP friendly code? I tried asking those over at Hit Tail since this is a paid subsciption and the only advice they offered was to ask here for support on their software :angry: Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 2, 2007 Share Posted May 2, 2007 post what you are trying to add. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Kyrsten Posted May 2, 2007 Author Share Posted May 2, 2007 It is a very short code, if you want to see the error I get on my site it is at the very bottom on www.collegenuthut.com The code I inputted into footer.php toward the bottom is: <!--HitTail Code--><script src="http://18879.hittail.com/mlt.js" type="text/javascript"></script><!--End HitTail Code--> Link to comment Share on other sites More sharing options...
zhexiang Posted May 2, 2007 Share Posted May 2, 2007 I found: // near the "Welcome" message and Parse error: syntax error, unexpected '<' in /home/collwod0/public_html/includes/footer.php on line 39 below the footer. Link to comment Share on other sites More sharing options...
Kyrsten Posted May 2, 2007 Author Share Posted May 2, 2007 I found: // near the "Welcome" message and Parse error: syntax error, unexpected '<' in /home/collwod0/public_html/includes/footer.php on line 39 below the footer. I know the // near the welcome message needs to be taken out, just haven't gotten around to it yet, the syntax error in footer.php line 39 in the Hit Tail code I have in footer.php that is causing it that I am looking for someone to make that code PHP friendly so I no longer get the Syntax error Link to comment Share on other sites More sharing options...
Kyrsten Posted May 3, 2007 Author Share Posted May 3, 2007 I got it fixed on my own doing some comparing of how some other things I have added in the past were formatted. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.