answersLogoWhite

0


Best Answer

Each statement is ended with a semicolon. PHP is derived from C, so a lot of the components are very similar, including this.

Google doesn't seem to care about these but for user's sake, for the sake of community and as a good practice, it is best to redirect and redirection should be 301.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Anonymous

Lvl 1
3y ago

What is the correct way to include the file time. Inc

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
4y ago

;

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
4y ago

C

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
3y ago

S

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the correct way to end a PHP statement?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the correct way to include the file?

<?php include_once('<path_to_file>/time.inc'); ?>


What are the correct and the most two common way to start and finish a PHP block of code?

`<?php` then a `?>` and also `<?=` and `?>` are the only compliant methods now that PHP 7 is out.


The correct way to write Hello World in PHP is?

echo("hello world");


What is the correct way to include the file time.inc?

<?php include_once('<path_to_file>/time.inc'); ?>


Is he at office a correct statement?

No, the correct statement would be "Is he at the office?" by adding the article "the" before "office."


How can you put PHP into your product details pages?

<?php // your php code goes here ?> If your product pages are created in PHP (have the .php extension) then you can simply add the php start/end tag. There is a way to have the server recognize PHP inside of HTML files but that would require some work on the server, better left to the server manager.


What is the correct way to add comment in PHP?

// For single line comments /* Your comments here */ For multi-line comments


What is php extension?

We can write php extension is many way... .php , .php5, .php4


Is this statement correct You were not curious above me in the least?

No. The expression is curious about, not above.I think it is correct. There is no mistake in using "above" after curious. "in the least" is an idiom which means in any way or lowest possible.


What does it mean to take back a statement?

To take back a statement means to retract or withdraw what was previously said. This can be done if the statement was incorrect, misleading, or no longer relevant. It is a way to clarify or correct any misunderstanding caused by the original statement.


How do you put a variable in an if statement in scratch?

It depends which programming/scripting language you use.In PHP it can look this way ($i is a variable):


What is the correct way to create a function in php?

function myFunction($parameter1, $parameter2) { // this function's code goes here return $returnValue; // the value returned }