Would you initialize your strings with single quotes or
double quotes?

Answer Posted / jitendra k jain

we can initialize string with single quotes,but in special character case, we need to initialize string with double quotes.the best way to define string with double quote.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you connet mysql database with php?

527


What is the difference between print() and echo() in PHP?

557


What is query string php?

534


Tell me how can we determine whether a variable is set?

502


Which is better php or nodejs?

515






What is mysql_fetch_object?

553


Can we run php on tomcat server?

553


Is php faster than nodejs?

489


What is the use of Mbstring?

529


What is isset function in php?

559


What is a model in php?

533


Do you know what are traits?

528


Tell me what is the importance of "action" attribute in a html form?

529


Tell me what should we do to be able to export data into an excel file?

517


Which php mvc framework is best?

555