Posted in

php में उद्धरण के अंदर चर( variable inside the quotes)

       PART – 8

उद्धरण के अंदर चर( variable inside the quotes)

यदि आप सर्वश्रेष्ठ प्रदर्शन चाहते हैं, तो सिंगल कोट्स के साथ $variable का उपयोग करें।

Example :


<?php   

 

 $a=2;   

 $b=15;   

 $c=$a+$b;   

 echo “Sum: $c”; 

 

?>

Output :


17

Leave a Reply

Your email address will not be published. Required fields are marked *