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

google indexing -

wpf - Converter stops filter working -

php - How to paginate multiple results in CakePHP? -