php help |
php help |
Mar 20 2008, 01:27 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
If I make a file that says yada yada yada yada yada yada yada yada and save it as header.php and then make a file that says <?php include("header.php"); ?> and save it as site.html when I open site.php in my browser shouldnt it say yada yada yada yada yada yada yada yada?
Ok well that is a question I asked on yahoo answers and it worked but I have one more question? Once I did the the file mysite.php was only a text document? Is it supposed to be like that or what? Is their soemthing I need to download to be able to view the file properly? Thanks |
|
|
|
![]() |
Mar 20 2008, 09:15 PM
Post
#2
|
|
![]() vivacity ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 3,183 Joined: Jan 2007 Member No: 495,247 |
Well from the looks of what you did, you weren't staying consistent with the file extension format. Save as php, and upload as php. I don't see why that shouldn't work, just stay consistent. If you're using PHP coding, save it as a PHP file.
|
|
|
|
JosephCohen123 php help Mar 20 2008, 01:27 PM
Insurmountable you may be able to find a tutorial here to help yo... Mar 20 2008, 01:33 PM
JosephCohen123 Please explain!!!!!!!... Mar 20 2008, 01:43 PM
JosephCohen123 I'm trying to download php but I'm confuse... Mar 20 2008, 03:21 PM
Insurmountable Uh neither of those links work for me o_O Mar 20 2008, 08:34 PM
Insurmountable Topics merged, please don't make a ton of topi... Mar 20 2008, 08:35 PM![]() ![]() |