Re: [PHP] Couple of beginner questions
- From: gwpaul@xxxxxxx ("Gary")
- Date: Sat, 10 Jan 2009 08:48:46 -0500
Looks like a great link, thank you.
But am I to understand that all I need to do is change the extention on a
file to php from html for all to be right with the world?
Gary
"tedd" <tedd.sperling@xxxxxxxxx> wrote in message
news:p06240803c58e55325244@[192.168.1.101]...
At 12:18 PM -0500 1/9/09, Gary wrote:
I've done a number of sites in html and am now venturing into php.
Can I create a page in html and insert php code that will work? (for
example, take an existing page and insert a date command)
Can I create a page with the php extension that contains only contains
html
and no php? If so are there advantages/disadvantages?
Can I mix and match file formats (php/html) in a single site?
Thanks for any input.
Gary
Gary:
Welcome to the wonderful world of php.
As for your date question, try this:
http://sperling.com/examples/time/
As for mixing html and php, the following was the most important thing I
learned about doing what you're trying to do:
http://sperling.com/examples/include-demo/
I think the demo is well worth your time to go through.
Hope this helps.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
.
- Follow-Ups:
- Re: [PHP] Couple of beginner questions
- From: tedd
- Re: [PHP] Couple of beginner questions
- References:
- Couple of beginner questions
- From: "Gary"
- Re: [PHP] Couple of beginner questions
- From: tedd
- Couple of beginner questions
- Prev by Date: Re: [PHP] Couple of beginner questions
- Next by Date: [PHP] Re: Couple of beginner questions
- Previous by thread: Re: [PHP] Couple of beginner questions
- Next by thread: Re: [PHP] Couple of beginner questions
- Index(es):
Relevant Pages
|