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

10y 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.


Can you join two independent clauses with a comma?

No, you cannot join two independent clauses with just a comma; this creates a comma splice, which is a grammatical error. To correctly join them, you can use a coordinating conjunction (like "and," "but," or "or") along with the comma, or use a semicolon. Alternatively, you can separate them into two distinct sentences.


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.


Are two or more independent clauses connected with a comma but no coordinating conjunction?

No, two or more independent clauses should not be connected with just a comma; this is known as a comma splice and is considered a grammatical error. Instead, they can be joined with a coordinating conjunction (such as "and," "but," or "or") or separated by a semicolon. Alternatively, you can use a period to create separate sentences.


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.


What is the coma splice?

A comma splice is a grammatical error that occurs when two independent clauses are joined with just a comma, without a coordinating conjunction or appropriate punctuation. For example, in the sentence "I went to the store, I bought milk," the comma incorrectly connects two complete thoughts. To correct a comma splice, one can use a conjunction, a semicolon, or separate the clauses into distinct sentences. Proper punctuation helps clarify the relationship between ideas and improves overall sentence structure.


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.