Computers & Internet Logo

Related Topics:

A
Anonymous Posted on May 02, 2013

Parse error: syntax error, unexpected T_STRING in /home/jpearlph/public_html/contact.php on line 38

5 Related Answers

checkitright

CheckitRight

  • 1363 Answers
  • Posted on Feb 15, 2008

SOURCE: Syntax error

go to this site and look under "error codes"
go to computer and system error codes

http://checkitright.spruz.net//main.asp?page=dp&dis=834222

Ad

Anonymous

  • 32 Answers
  • Posted on Jul 27, 2008

SOURCE: PHP Error

This error means that the program doesn't understand the code you wrote.

If you are lucky the error points to the file and the line number where PHP got confused. Sometimes PHP points directly at the error, but other times PHP is confused as a result of an earlier error in the script.

Welcome to the great world of PHP.

Anonymous

  • 1 Answer
  • Posted on Aug 26, 2008

SOURCE: Parse error: syntax error, unexpected

T_STRING is a string error. It usually means one of two things.

1. The string is formatted incorrectly. In your case check on line 4. Make sure if you have a ' that you close it with a '. Same with ". Close all " with another " somewhere. Make sure line 4 ends wth semi-colon ;

2. Usually this is the case. The line above the string it states doesn't have a semi-colon to complete the statement. In your case, check that line 3 ends with a ;
That is why it says unexpected T_STRING which means "unexpected string". The string on line 4 is unexpected because line 3 wasn't closed properly.

Anonymous

  • 55 Answers
  • Posted on Aug 26, 2008

SOURCE: PHP Parse error

sir :
Do you have a problem in your own web page or what?

This mistake frequently occurs when a particular quote is
present in a string delimited by the same kind of quotes,
for example:

<?
echo 'apple API';
?>

In such situations the PHP interpreter does not know when he
starts and ends where the chain. The solution is to "escape"
quotes problem by being preceded by a backslash
(backslash):

<?
echo 'apple d \' api ';
?>
In the same way for the double quotes

<?
echo "said Jacques \" Hello! \ "";
?>

The PHP parser generally indicates the line where
the error occurred.
This error may also be due to the oblivion
of a semi-colon (;) at the end of the investigation
into the previous line ...

please dont forget rating this comment.
if this not helping u tell me so i can help u

Al42

Al Klein

  • 72 Answers
  • Posted on Sep 10, 2008

SOURCE: PHP Guestbook Error

There's supposed to be a file named LouisSahagunGuestbookdb.php in the /home/content/p/l/a/planet9/html/LouisSahagun/ directory and there isn't any.

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

62 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

ADMIN Andrew
ADMIN Andrew

Level 3 Expert

73813 Answers

ADMIN Eric
ADMIN Eric

Level 3 Expert

42247 Answers

Brad Brown

Level 3 Expert

19190 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...