How many Types of COmments are there in PHP and what are they?
Answers were Sorted based on User's Feedback
Answer / shivakumar naik
PHP supports 3 types of comments
1. /* C style */
2. // C++ style
3. # perl style
| Is This Answer Correct ? | 25 Yes | 4 No |
Answer / aditya sharma
single line comment
// OR #
multiline comment
/* ------------------- */
| Is This Answer Correct ? | 20 Yes | 5 No |
Answer / ramesh n
two ways
single line comment
//
multi line comment
/* ------------------- */
| Is This Answer Correct ? | 15 Yes | 6 No |
What is the maximum size of a database in mysql?
Why and where do we use htaccess?
What is apache and php?
What is a namespace in php?
What is the meaning of curl , which is used while connecting with pay pal? and how it works?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
What are the main error types in php?
Explain some of the php string functions?
if i give Limit for mysql query through php command line script like this for ex. $limit=500; $total_items = 1500; for($start=0;$start<$total_items;){ $command = "/usr/bin/php -q /home/sitename/public_html/admin/feedmanager/test.php feedid ".$_GET['feedid']." start ".$start." end ".$limit ; $start = $start+$limit; $command_result = system($command); } so it's execute command for 3 times so it give limit to sql query but if i have 27000 data so it takes long time? so my question is that is that any way from php command line script that i can use for collect all the data at once?
Tell me how do I escape data before storing it into the database?
What is the Default syntax used in PHP?
I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags is not working at all.. Please help me out.. How can i resolve this??