I'm new to PHP but I just mangaged to put the content which I am going to use on all my pages on a "header.php" file and the other content which I put on a "footer.php" file. And the tutorial I was reading says to type in the script like this:
<?php include('header.php'); ?>
<div style="position: absolute; left: 246; top: 619; width: 574; height:180">
<div style="width: 574; height: 224"><p class="Header">Welcome~</div>
</div>
<?php include('footer.php'); ?>
I've done that and I even uploaded the "header" and the "footer" onto my server but when I upload this as one PHP file (main.php) and preview it it's just a blank screen with "Welcome~" on it!! >w<
Can someone please tell me what I'm doing wrong? and if I'm not doing this wrong does x10 support PHP??
Thanks!~^^,
Ann
-btw, if you don't get what I'm saying please feel free to email me at vampireheart.stilldoll@hotmail.com
<?php include('header.php'); ?>
<div style="position: absolute; left: 246; top: 619; width: 574; height:180">
<div style="width: 574; height: 224"><p class="Header">Welcome~</div>
</div>
<?php include('footer.php'); ?>
I've done that and I even uploaded the "header" and the "footer" onto my server but when I upload this as one PHP file (main.php) and preview it it's just a blank screen with "Welcome~" on it!! >w<
Can someone please tell me what I'm doing wrong? and if I'm not doing this wrong does x10 support PHP??
Thanks!~^^,
Ann
-btw, if you don't get what I'm saying please feel free to email me at vampireheart.stilldoll@hotmail.com