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 |
What is the difference between php 5 and php 7?
Write a program in php to check whether a number is prime or not?
What are the ways to define a constant in php?
Does PHP 5 support exceptions? State Whether True or False?
How do you connet mysql database with php?
How can you parse files that were not ending with .php by using Apache?
What is whitespace in html?
What is mean by an associative array?
What is the capacity of mysql database?
what is CURL?
Dear Sir, i am a frasher and now i got a job offer from AentteQ Software Technologies for PHP developer.. so i am in confusion that is PHP correct for my carrer or i shud choose other then php for my carrer...plz suggest me
Why php is used with mysql?