3 Replies - 863 Views - Last Post: 16 June 2013 - 08:27 AM Rate Topic: -----

#1 vikkydonlad  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 16-June 13

How to embed or integrate php page into html in dreamweaver?

Posted 16 June 2013 - 04:41 AM

Hi,

I've just created a contact form in dreamweaver using php but the problem is its in a separate file to my html page where all the page structure is. What I want to do is to somehow integrate the contact form into the html page to make it fit into the whole website.

Can anybody please point me to the right direction. Any tutorials or helpful links is much appreciated
Thanks so much!!
Is This A Good Question/Topic? 0
  • +

Replies To: How to embed or integrate php page into html in dreamweaver?

#2 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 2886
  • View blog
  • Posts: 9,588
  • Joined: 12-December 12

Re: How to embed or integrate php page into html in dreamweaver?

Posted 16 June 2013 - 05:41 AM

You could change the file extension of the html file to .php. Then add to it the include statement to insert your other php page.

I believe PHP: The Right Way to be a good resource. The most important resource is the docs which are excellent.

We have many tutorials here @DIC. Click the Tutorials link at the top of this page.

This post has been edited by andrewsw: 16 June 2013 - 05:42 AM

Was This Post Helpful? 1
  • +
  • -

#3 JackOfAllTrades  Icon User is online

  • Saucy!
  • member icon

Reputation: 5958
  • View blog
  • Posts: 23,229
  • Joined: 23-August 08

Re: How to embed or integrate php page into html in dreamweaver?

Posted 16 June 2013 - 07:55 AM

Dreamweaver is a poor crutch used to prop up non-programmers. Learn PHP as Andrew has pointed out.
Was This Post Helpful? 0
  • +
  • -

#4 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2834
  • View blog
  • Posts: 9,740
  • Joined: 08-August 08

Re: How to embed or integrate php page into html in dreamweaver?

Posted 16 June 2013 - 08:27 AM

View Postvikkydonlad, on 16 June 2013 - 07:41 AM, said:

What I want to do is to somehow integrate the contact form into the html page to make it fit into the whole website.

This is a horrible idea. PHP and HTML are processed by different computers and at different times: Server, then client. Mixing the two languages in one file will only reinforce your misconception and that will cause many problems for you.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1