Forum Moderators: coopster

Message Too Old, No Replies

Using javascript in PHP - error

Having trouble with a particular script.

         

Assur191

9:17 pm on Jun 8, 2005 (gmt 0)

10+ Year Member



I'm fairly new to php and trying to get a site up and running. I'm trying to place the following code on a php page, with all the proper slashes in place, but I'm still getting an "unknown T-String" error. I can include() it, but it shows up oustide the page. Please let me know if there's anything I can do to fix this. Thanks:

<!-- BEGIN Help Center Live Code, © Michael Bird 2004 -->
<div id="HCLInitiate" style="position:absolute; z-index:1; top: 40%; left:40%; visibility: hidden;"><a href="javascript:initiate_accept()"><img src="http://HelpCenterLive/inc/skins/default/images/lh/initiate.gif" border="0"></a><br><a href="javascript:initiate_decline()"><img src="http://HelpCenterLive/inc/skins/default/images/lh/initiate_close.gif" border="0"></a></div>
<script type="text/javascript" language="javascript" src="http://HelpCenterLive/lh/live.php"></script>
<!-- END Help Center Live Code, © Michael Bird 2004 -->

StupidScript

9:59 pm on Jun 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboard, Assur191!

Would you please post the code indicated by the error message you are receiving? The error message should include a line number for you to key off of.

There's nothing wrong with the code you posted, by the way ... the problem is probably in the "live.php" file you are using.