Jump to content


Proper n00b Question.


4 replies to this topic

#1 mushmushi

    Young Padawan

  • Members
  • Pip
  • 18 posts

Posted 27 August 2006 - 01:47 PM

Ello,
I'm an ABSOLUTE beginner to PHP and have one little question.

I'm designing a site using dreamweaver, the server for the site supports PHP and I simply want to integrate PHP into the HTML for my site. Do I need to download any additional programs and tools, like PHP4, or can I just add PHP code to my HTML code?

Sorry for the extreme n00bity :D

Cheers,
Mush.

#2 cheerio

    Young Padawan

  • Members
  • Pip
  • 246 posts
  • Gender:Male

Posted 27 August 2006 - 01:54 PM

make sure the file ext is .PHP and then you can add your PHP/HTML to that. No extra steps needed if you rserver supports PHP.

Remember, php goes in the php tags: <?php and ?> :D

#3 Mr. Matt

    Moderator

  • P2L Staff
  • PipPipPipPip
  • 1,945 posts
  • Gender:Not Telling

Posted 27 August 2006 - 01:55 PM

ok to start off, if you put php in a html page the page needs to be called page.php and not page.html.

You can download php and install it on your pc, but as it is on your server already there is really no need to, and it takes quite a bit of know how to get it set up correctly working with apache, so I would just do all your testing on the server.

Hope this helps

Matt

dam u cherio you beat me to it

Edited by deadly, 27 August 2006 - 01:56 PM.


#4 mushmushi

    Young Padawan

  • Members
  • Pip
  • 18 posts

Posted 27 August 2006 - 02:05 PM

Woah, that was some fast replying. Thanks muchly for the help.

#5 cheerio

    Young Padawan

  • Members
  • Pip
  • 246 posts
  • Gender:Male

Posted 27 August 2006 - 02:15 PM

haha @ deadly





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users