Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Using Echo Properly Re: Using Echo Properly

#72847
lon
Member

Thank you for your help. Unfortunately I am still having problems setting and echoing out a variable.
Here is the code I am using that is not working:


$path=phpinfo();
?>


<br /> Be Very Affraid<br />


echo " the path is ".$path." ";

That produces: “echo ” the path is “.$path.” “; ” on the web page.

Is there anything I can read on the proper use of echo itself?
Thank you again.