NocturnalGPT Posted July 1, 2010 Share Posted July 1, 2010 Here is the error name: (Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/nocttcom/public_html/pages/header.php on line 29) I will attach a picture of the line. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 Please post your code. Ken Quote Link to comment Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 I attached a picture of the code. Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 Most people don't download attachments. Posting the code is much more efficient here. Ken Quote Link to comment Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 You don't have to download anything. But I will post the code anyways. 26. <td align="center" colspan="4"> 27.<table width="100%" border="0" cellspacing="0" cellpadding="0" name="Site Menu"> 28. <tr> 29. <td align="center" height="21" bordercolor="#626FB7" background="<script language="php"> pages_url.gif" ();</script>barclass="menu"> 30.<A HREF="<script language="php"> pages_url();</script>index.php" class="menu">HOME</A> Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 What are you trying to accomplish with this? <script language="php"> pages_url.gif" ();</script> BTW, most people start a segment of PHP core with "<?php" and end it with "?>" And posted code should be put between tags. Ken Quote Link to comment Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 I did not design this code. It is a script that I purchased, and I was editing it and now I get the error that I listed. Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 What did you change? Ken Quote Link to comment Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 Nothing, I am new to php and all I did was type in "testing" to see exactly where it was located on the page. Then I removed the "testing", and now I get the error. Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 If it ran before you changed something and doesn't run after you changed it (and removed your change) then you didn't remove the change correctly. Looking at the code, I would guess that the line should be <td align="center" height="21" bordercolor="#626FB7" background="<script language="php"> pages_url();</script>barclass="menu"> but I could be mistaken. What is the name of the package you bought? Is there any support with it? Ken Quote Link to comment Share on other sites More sharing options...
gizmola Posted July 1, 2010 Share Posted July 1, 2010 PEBKAC Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 Quote Link to comment Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 Ken, thanks alot man. That was it, you can close this thread now. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted July 1, 2010 Share Posted July 1, 2010 PEBKAC Agreed. Almost certainly a PEBCAK error. Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 We don't close threads. The OP marks them "solved" by clicking the button labeled "Mark Solved" at the bottom. Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.