Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
PHP Programming quiz, level Intermediate, question 19
Question: When would you use double quotes rather than single quotes to define a string of text?
Answer 1: When you wanted to include variables and special sequences such as \n within the string
This was the CORRECT answer
Answer 2: When you wanted to include special characters such as @ and % within the string
Answer 3: When you wanted the string to be more than one character long
Answer 4: When you wanted every character to be taken as a literal

This was a question from our quiz ... but we have now provided you with the answer (above) - we prefer to provide you with information rather than to puzzle you.
Lua
PHP
Perl
Java
MySQL
Python
Linux
Apache Tomcat
Apache httpd
C and C++
Tcl and Tcl/Tk
Hotel
Recent additions


© WELL HOUSE CONSULTANTS LTD., 2009: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho