How to display a variable in PHP using echo or print statements?

1 answer

Answer

1083001

2026-03-22 14:51

+ Follow

displaying a variable in php using echo statement?

<?php

$name="ram"; //declaring and defining the variable

echo "$name"; //printing the variable using echo command

?>

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.