
October 5th, 2003
07:36 PM
overall Funny Guy
Status: Offline!
1st) YES, you can save it as .php, but whats the point?
It will still be a normal .html file unless you use PHP code.
2nd) What you want is actually very simple to do with includes. Try and learn the basics of PHP, its not hard at all and it will make thing alot easier for you
___________________
"I find it kinda funny, I find it kinda sad,
The dreams in wich I'm dying are the best i've ever had"

October 5th, 2003
07:59 PM
Neverside Newbie
Status: Offline!
Well if you don't want codes, what do you want? Dreamweaver isn't going to do it all for you. You're going to have to work out the php logic. Saving it as a .php file is going to do nothing.
If you know anything about computers you know that programs are written in languages like C/C++/Java etc. Think of PHP as a language that makes web programs (Forums, web emailers, stuff like that).
PHP is not a script or anything that does one specific job, it's a program written in C that acts like it's own language (Well, it basicly is). The link Ares gave you is not about codes, if you would just tolerate a little patience and read through about 5-10 paragraphs, you'd at least understand what it is.
___________________
Travis Farrell


October 5th, 2003
09:59 PM
thinking of something witty to put here
Status: Offline!
okay, before diving into php, you should really learn html to the point where you see a 3 column layout then say, i can make that (no not with tables either
)
what i'm trying to understand is that you want to be able to use one page for design, then all the content will go in seperate files
yes you do have to learn php, and no, dreamweaver wont do that
this might be a little off topic, but you might wanna try coldfusion, it uses similar syntax to html and is just as powerful as php
i use coldfusion alot and i highly reccomend it, its not hard to learn either
<?php
$m = mysql_connect("localhost", "root");
mysql_select_db("mydb");
$query = "SELECT * FROM blah";
$result = mysql_query($query);
while ($results = mysql_fetch_assoc($result)) {
echo "Hello ".$results['name'];
}
?>
vs
<cfquery name="results" datasource="mydb">SELECT * FROM blah</cfquery>
<cfoutput query="results">Hello #results.name#</cfoutput>
6 lines vs 2 lines

October 5th, 2003
10:31 PM
Neverside Newbie
Status: Offline!
CF looks weird, but effective. 
___________________
Travis Farrell


October 5th, 2003
11:00 PM
with Mr. Jones
Status: Offline!
Speed comparisons?
I'd personally go with open source and large community of php, but whatever. Speed is what matters.
___________________
http://www.philbrodeur.com - Expert PHP Development and Tutorials

October 6th, 2003
02:33 PM
overall Funny Guy
Status: Offline!
Originally posted by Radley
6 lines vs 2 lines
Not fair, CF didnt have to connect to the DB 
___________________
"I find it kinda funny, I find it kinda sad,
The dreams in wich I'm dying are the best i've ever had"

October 6th, 2003
09:59 PM
with Mr. Jones
Status: Offline!
The cf syntax is a bit odd but I assume thats because I'm not used to it
___________________
http://www.philbrodeur.com - Expert PHP Development and Tutorials