CLASS WORK

1 view
Skip to first unread message

Sanam Shrestha

unread,
Jan 10, 2013, 10:53:56 PM1/10/13
to phpgroup2...@googlegroups.com
when we use Double quot, its execute variable values. But in single quot won't execute variable value..its treat like a string .
test.php

Dhiraj Kumar Jha

unread,
Jan 11, 2013, 5:36:52 AM1/11/13
to phpgroup2...@googlegroups.com

Appreciable, the values of the variables are listed in double quotes, whereas, for single quotes, such potential is absent.

 

….

$var = “Ram’s”;

 

try to write down the echo statement by using both single quote and double quote to get the output as

 

//Ram’s

 

Happy Coding!

--
 
 

Reply all
Reply to author
Forward
0 new messages