Menu

error parsing php code in html page

Help
miss_me
2006-01-21
2013-06-03
  • miss_me

    miss_me - 2006-01-21

    please help me !!!  im new with php and facing few problem running it on browser.
    whenever i embed php code in my html page with apache2.0.55 as my web server only html patr is displayed.
    in case i run a page containing only php code it outputs a blank page on browser.(version-php4)
    waiting to hear a good reply
    thanx

     
    • TNTEverett

      TNTEverett - 2006-01-21

      Whenever you use PHP you must change teh file extension to .php (the file can not have the .html extension any more).
      Pure php files must have print or echo statements in order for the browser to display anything. 
      For example;
      look at your form1.html file (no php code)
      look at your admin/index.php file (this displays the admin page in your browser, it has embedded php code)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.