WHY AM I GETTING A PROBLEM CONVERTING MY WEBSITE TO PHP SCRIPT?

Question by Arvind:
why am i getting a problem converting my website to php script?
when i split a part of my html website into two separate files and use php script to include them i get this blank space…. after viewing the php page in my browser the source is still the same…. any help around this?
——————————————
Answer by urbi();
That sounds like you do not have php installed on your server or aren’t putting the right file extensions on the file. Make sure and end the name of the file that has the includes with ‘.php’
If not either of those, then you might not be using the begin and end tags correctly. Make sure they are like this:
and
?>
——————————————
Give your own answer to this question below!









about 2 years ago
You do not need any programming skills to place Google Adsense at your website, just copy and past the google adsense code where yoo want display the ads, for more visit below link
Introduction to Search Optimization
http://www.phondi.com/2009/06/16/introduction-to-search-optimization/
about 2 years ago
It is too easy to do, you will get it in seconds, just paste in the code……
about 2 years ago
Its not that hard to add it your self, but if you need help you could get professional help from the link below..
about 2 years ago
dear its so easy to place ads on any website…….u also need special keywords i mean high paying key words under URL u wil find total info about adsense also keywords
about 2 years ago
it is not hard at. i am a website creator and i have a website my self. Google adsense is wonderful. all you need to do is create the add you want to place on your site. and google adsense has code imputing guides right on the site for you. a also the google adsense account is FREE.
about 2 years ago
placing google scripts on ur site is simplest thing.
Just copy script from google.
and place it in the location u want to in ur website.
and save it and upload in ur database on server.
If ur a beginner get help about google adsense,Log on to
http://publishersadvertising.blogspot.com
about 2 years ago
Its very easy indeed, just copy and paste
about 2 years ago
I use a site called Widget Bucks because I had the same problem with adsense.
http://www.widgetbucks.com/home.page?referrer=14887002
about 1 year ago
I don’t know the specifics of your problem, it could be your webhost doesn’t support PHP properly. Or your syntax is wrong, If you had a link to pastebin copy of the code we could possibly help you.
about 1 year ago
hi,
check in that php code whether you have written any echo statements..(echo and print statements will print the line in your browser..)
example:
< ?php
echo "Hi! New to PHP?";
print "This will also print";
?>
Note:make sure you have php installed in your system. or install one from wampserver.com WAMP5 for windows) and LAMP for Linux..
http://www.neticle.co.cc
about 1 year ago
Hi
After seeing your query, i will give one simple example to you. pls compare this with your page.
1. At first i create index.php page
2. In index.php i have put a table with 2 rows
3. In first row pls put this script
< ?php include "header.php"; ?>
Note: Pls check header.php file is save in the same folder where you have saved your index.php. [header is a file name]
4. In second row contain some content
It will work fine.
about 1 year ago
Also make sure you have no blank space after your ending tag: ?>
You actually don’t need to use an ending tag at all, PHP supports this, and it eliminates the problem of accidental whitespace after the ending tag.