I have had my webserver running for over 3 months, and have been trying to get my website on search engines, but all the pages are in php scripting, I would like to be able to add the site to search engines, but I don't know how to add meta tags for web crawlers to index the pages, I tried, but when the page is open, it displays 'parse error in c:\xxxxxxx\xxxxxx\xxxx.php line xxx', and the html code is displayed at the top of the page.
How do I add meta tags to php pages without the script interpreter trying to interpret the html code as php?
I tried to enter:-
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="blah blah blah">
<meta name="blah blah blah">
<title>xxxxxxxxx</title>
</head>
<body>
</body>
</html>
<?php
{php code}
?>
at the top of the page before <?php
but it don't work.
How do I add meta tags to php pages without the script interpreter trying to interpret the html code as php?
I tried to enter:-
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="blah blah blah">
<meta name="blah blah blah">
<title>xxxxxxxxx</title>
</head>
<body>
</body>
</html>
<?php
{php code}
?>
at the top of the page before <?php
but it don't work.