PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old August 20th, 2004, 02:33 PM
mmoresmusic mmoresmusic is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 mmoresmusic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation parse error, unexpected T_STRING on line 13

Hello,
i'm pretty good at html,...but it seems when I get to PHP, i'm all thumbs haha I keep getting this parse error, and i have no clue why, i thought it was becuase of commas at first, but I escaped them, so that wasn't it,...i'm resorting to online help because i'm gonna shoot myself in the face if i dont get it figured out haha, please help :-)

here's my code: (a bit lengthy, but i posted the whole part i'm needing changed just to be sure):

*edit, code taken off*

I found out the problem, it was not only the 's it was the program itself taking them out for some reason, eh, thats ok.

Last edited by mmoresmusic : October 8th, 2004 at 02:41 PM. Reason: revision

Reply With Quote
  #2  
Old August 20th, 2004, 07:06 PM
Itsacon's Avatar
Itsacon Itsacon is offline
Command Line Warrior
Click here for more information
 
Join Date: Aug 2004
Location: Sector ZZ9 Plural Z Alpha
Posts: 956 Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 682581 Folding Title: Super Ultimate Folder - Level 2Folding Points: 682581 Folding Title: Super Ultimate Folder - Level 2Folding Points: 682581 Folding Title: Super Ultimate Folder - Level 2Folding Points: 682581 Folding Title: Super Ultimate Folder - Level 2Folding Points: 682581 Folding Title: Super Ultimate Folder - Level 2Folding Points: 682581 Folding Title: Super Ultimate Folder - Level 2Folding Points: 682581 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 6 Days 8 h 23 m 34 sec
Reputation Power: 4
Send a message via ICQ to Itsacon
Ever heard of formatting?

Anyway, your prob is that on multiple places in the text there are unescaped apostrophes.
Replace those by \' and it should work.
I found:
-Moore's (twice)
-website's
-customers'

Regardless of that, I'd insert some linebreaks (\n) in the string at least, and probably split it up a bit, this is completely unreadable.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > parse error, unexpected T_STRING on line 13


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway