PART – 4

php में echo और print का प्रयोग क्यों होता है?

php में echo और print का प्रयोग इसलिए करते हैं, जो statement में  हमें  आउटपुट प्राप्त करने या देखने के लिए किया जाता है।
इको और प्रिंट यह एक स्टेटमेंट होता है जो हमें कोई भी वैल्यू declare करनी होती है तो हम echo या print का प्रयोग स्टेटमेंट में करते हैं

<?php 

 

 $result=print “This will print<br>”; 

 echo $result; 

  

?>

Output

This will result

Related posts:

Leave a Reply

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