Whether One-line comment begin with pound sing(#) in php?
Answers were Sorted based on User's Feedback
Answer / sona
Yes we can give # or // for oneline command
example
//hai
#echo "hai";
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / nutan bhatnagar
There are three way to comment a code two are for single
line and one for mulitple line.
For Single line comment
// echo hello ;
# echo hello;
For Multiple line comment
/*
echo hello;
echo "Happy New Year - 2010"
*/
| Is This Answer Correct ? | 7 Yes | 2 No |
Seeking a PHP skilled programmer, with knowledge of MySQL Database, Javascript and AJAX. CSS and HTML is a plus. Temporary job for 2 months. Possibility of extending the contract (depending on how good you are). Location: Delhi. Start: ASAP Contact me at boney@portlane.com together with your CV.
What is the best php version for wordpress?
Tell me when a conditional statement is ended with an endif?
How many columns can be added in a table in mysql?
Does exist in php?
Which framework is best for php?
How are php sessions stored?
Is php 7 backwards compatible?
what method is used to generate a random number?
What is meant by PEAR in PHP?
How to set cookies?
What does the function get_magic_quotes_gpc() means?