Jump to content


Help with Dreamweaver and PHP!


2 replies to this topic

#1 karonte

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 05 February 2007 - 10:13 AM

Hi! Im really having a headache time trying to figure out how to add a php files into a Dreamweaver's html.
I have the database runing and im able to view the php file directly through the website.
I followed this tutorial: http://www.pixel2life.com/publish/tutorial...utorial_on_p2l/

How can i made the stats.php file viewable in any html page? ^_^
Any help appreciated :D

#2 NGPixel

    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 05 February 2007 - 10:54 AM

You will need to add the .php extension to all your pages, otherwise it won't work. To include the stats.php file, simply use the include() function:



#3 karonte

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 08 February 2007 - 09:37 AM

thanks :D





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users