Is there any way to return HTML in a PHP function? using a string -


I need to return information from a PHP-grab function in HTML, so I can post it in my form .

You can do something like this on a page named demo.php ...

  & lt ;? Php Function Strike HTML () {// Simply display some HTML or query data for the goods .. dumb " Some HTML "; }? & Gt; & Lt; Html & gt; & Lt; Body & gt; & Lt ;? Php strih html (); ? & Gt; & Lt; / Body & gt; & Lt; / Html & gt;  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -