Basic help with php script! 100np$

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

gingeman

VIP Member
Impact
65
Hi!
I was messing about in matters I shouldn't on my website freelayoutpimp and I've made a boo-boo.

I'm now getting this:

Parse error: syntax error, unexpected T_STRING in /home/gingeman/public_html/freelayoutpimp/index.php on line 10


The code for the index page around line 10 is this:

<?
/**
* config.php - Sitewide Config File
* * @package MySpace Train
* @url http://www.myspacetrain.co.uk
*/
include('config.php');
include ($sm['path_inc'] . 'header.php');
$sm['page_name'] = 'Welcome to ' . $sm['page_name'];
Welcome to the Free Layout Pimp! This Pimp is going to tweak your myspace profile for Free! On this site you will find free myspace layouts, free graphics and a free layout generator, amongst other top myspace resources. Why not bookmark Free Layout Pimp today? New content is always added and you will be able to make your myspace profile the most pimpin' design on myspace!
</div><hr class="content_part">

<br>
<div class="content_header"><div class="content_text"><b>Some Site Features</b></div></div>
<div class="middle">
<br>
<center>

If anybody can help with quick advice as to what I have deleted or added would be most appreciated.

Thanks
:)
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Hey gingeman,
I'd say this is your problem, you deleted the '?>' tag by accident.

So replace your code with this:
Code:
<?
/**
* config.php - Sitewide Config File
* * @package MySpace Train
* @url http://www.myspacetrain.co.uk
*/
include('config.php');
include ($sm['path_inc'] . 'header.php');
$sm['page_name'] = 'Welcome to ' . $sm['page_name'];
?>
Welcome to the Free Layout Pimp! This Pimp is going to tweak your myspace profile for Free! On this site you will find free myspace layouts, free graphics and a free layout generator, amongst other top myspace resources. Why not bookmark Free Layout Pimp today? New content is always added and you will be able to make your myspace profile the most pimpin' design on myspace!
</div><hr class="content_part">

<br>
<div class="content_header"><div class="content_text"><b>Some Site Features</b></div></div>
<div class="middle">
<br>
<center>

If that fixes it up, don't worry about the 100NP$, keep it, some rep would be nice though :P

Thanks, Rhett.
 
1
Close
Thanks! Knew it was schoolboy. Rep added, much obliged to you. :)
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back