How many ways to include variables in double-quoted strings in php?
Answer / Piyush Choudhary
You can include variables in a double-quoted string using either curly braces or concatenation. Here's an example for each method:n`n// Using Curly Bracesn$var = "example";necho "I have the value: $var";nn// Using Concatenationn$var = "example";necho "I have the value: ".$var;n`
| Is This Answer Correct ? | 0 Yes | 0 No |
Is php harder than javascript?
What is the mysql injection?
What is difference between compile time and run time polymorphism?
Explain the importance of the function htmlentities.
How many bootable file in O/S - XP,2000, and 98. which are the files.
What is the purpose of destructor ?
What is .htaccessfile and use of this file
how can we retrive value from one database server and store them another database server using php?
What are php magic quotes?
hey i m a trainee n jus wanted to ask that initially i was given the opportunity for .NET bt that project is abt to complete , nw i m asked to join a project of php on linux which is about to start , so wt say . is it a wise decision to join this project . will i be having job opportunities when i l complete my training after 4 months ? Plz suggest something ASAP .
How to create an array of a group of items inside an html form?
how to upload a file in php.write a syntex for that