I broke my website

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
webrover
Forum Newbie
Posts: 1
Joined: Thu Jan 06, 2005 3:34 pm

I broke my website

Post by webrover »

ok basically i have no idea what i'm doing, and as a rusult i can't use my site

I tired using Microoft front page to add a banner to my site. I used the banner funching after trying to load the banner and veiwing my page, i get this error

Parse error: parse error, unexpected '<', expecting T_STRING or T_VARIABLE or '{' or '$' in /home/rover/public_html/index.php on line 89

how can i fix this>
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Give us a clue then ;)
What are lines 88 and 89 of index.php ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Moved to PHP - Code.
User avatar
Trenchant
Forum Contributor
Posts: 291
Joined: Mon Nov 29, 2004 6:04 pm
Location: Web Dummy IS

Post by Trenchant »

Remove any private information(db passwords, usernames and if you want url's). Then post the source here so we can help you. That error output can result from a lot of different things.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

usually from forgetting a ; sign (atleast i forget them almost every 4 lines : :roll: )
magicrobotmonkey
Forum Regular
Posts: 888
Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA

Post by magicrobotmonkey »

tip: dont use frontpage to edit php files
User avatar
dull1554
Forum Regular
Posts: 680
Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W

Post by dull1554 »

**tip: dont use fontpage....period.......

:)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

We'll need to know more, definitely.
Post Reply