answersLogoWhite

0

Most lines require a semi-colon and the end. It's likely that that line does. A parse error is an error in syntax so you need to add ; at the end of the line like so:

//WRONG

echo "Hello World"

// Right

echo "Hello World";

?>

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

What this means and how to fix it when you go on a web page Parse error syntax error unexpected T STRING expecting '' or '' in varwwwphpbbcommonphp on line 22?

== ==


How would you see if a sentence had a comma spilce?

You can identify a comma splice in a sentence by looking for two independent clauses that are incorrectly joined together with just a comma. This error can be corrected by replacing the comma with a semicolon, period, or coordinating conjunction.


What is a parse error in php?

Parse error in PHP means that your script is invalid - it is not compliant with the programming language specification. After parse error script is no longer executed.


What is the proper term for a run-on sentence that is incorrectly punctuated with a comma in the middle of it instead of a semicolon or period?

The correct term for a run-on sentence that is incorrectly punctuated with a comma is a comma splice. This occurs when two independent clauses are joined by a comma without a coordinating conjunction or proper punctuation. It is considered a punctuation error in formal writing.


How do you see if a sentence has a comma splice?

A comma splice occurs when two independent clauses are incorrectly joined by a comma without a coordinating conjunction. To identify a comma splice, look for sentences where two standalone thoughts are separated only by a comma. This error disrupts the flow of the sentence and is best corrected by either adding a coordinating conjunction or using a stronger punctuation mark like a semicolon or period.


This results when two or more independent clauses are joined by a comma without a coordinating conjunction?

This is known as a comma splice. It is considered a punctuation error as it incorrectly joins two independent clauses without a coordinating conjunction or appropriate punctuation. To correct a comma splice, you can either use a semicolon, separate the clauses into two sentences, or add a coordinating conjunction like "and," "but," or "or."


What grammar techniques is used to correct a comma splice error?

A comma splice occurs when two sentences are strung together, as in: I went to the store, I bought an apple. Comma splices are corrected by adding punctuation at the end of the first sentence: I went to the store. I bought an apple. You could also use a semi-colon to correct a comma splice, depending on what the sentence is: I went to the store up the street; I wanted an apple, but they didn't have any.


Missing semicolon in c program is a compile time error?

It's a syntax error, which is detected during compilation, yes.


What is a possessive error?

When you put the comma in a wrong place.


Can you write plus at end of c statement?

No. That would be a syntax error. Only a right semicolon (;) can go at the end of a statement.


Two sentences written as one sentence and usually separated by comma?

A comma splice is the use of a comma to join two independent clauses without a conjunction. It is considered an error in formal writing.


How do you use commas to separate two clauses in a compound sentence?

You use a comma to separate two sentences only one of which is a subordinate or dependent sentence and it must come before the independent one. For example, When I eat ice cream, I feel happy. (you use a comma because the sentence "When I eat ice cream cannot stand by itself.) Be aware of this: I feel happy when I eat ice cream. (no comma because the sentence starts with the independent sentence.) If they are all independent sentences, you don't use a comma to separate them but a semicolon (;) For example: I go to the beach; I see a lot of swimmers and I listen to music.