capitate
29 Nov 2009, 03:07 PM
This is my first post here, so hello everyone! I am trying to design a new site for my bus. using css & php which I've never used before. I do have some experience with html and a bit of css from dreamweaver from the past.
signsbyfineline.com/testing/css_test/index.php (http://www.signsbyfineline.com/testing/css_test/index.php)
<div class="left_column">
<p><?php
include "news.php"
?></p>
I've put the above code in <div class="left_column"> to have a dynamic news portion. When I upload to my server, I check the code with Firefox crt+u (page source), and it's not the same as I have on my computer. It's showing the actual code I used from the separate .php file I made called news.php. If you notice there is some repeating code which is coming from the seperate php file too. Somehow there is php inside php but only on the server.
So although it's working for what I need it for, it doesn't seem right.
signsbyfineline.com/testing/css_test/index.php (http://www.signsbyfineline.com/testing/css_test/index.php)
<div class="left_column">
<p><?php
include "news.php"
?></p>
I've put the above code in <div class="left_column"> to have a dynamic news portion. When I upload to my server, I check the code with Firefox crt+u (page source), and it's not the same as I have on my computer. It's showing the actual code I used from the separate .php file I made called news.php. If you notice there is some repeating code which is coming from the seperate php file too. Somehow there is php inside php but only on the server.
So although it's working for what I need it for, it doesn't seem right.