I'm having an extremely difficult time trying to figure this out. I want to add a section of NON-PHP into a PHP file where if the page is ending in /index.php (like the entire website would be https://motorhead69.us/index.php instead of just https://motorhead69.us). The code follows belows:
{ if ($PAGE == '/index.php')
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Motorhead69 Index</title>
<meta name="description" content="Motorhead69 index offers general work including engine repair and rebuild of ATVs and car repair">
</head>
<body>
<h1>Motorhead69 Index Page Larry, Millie, Moore, Jr, Larry Moore, Larry Moore Jr, Jim McRae, 4292 1st St, Hibbing, MN 55746, home 218 440-1042</h1>
</body>
<php
}
Parse error: syntax error, unexpected 'http' (T_STRING) on line 54 which is the line that starts <html xmlns etc.
Parse error: syntax error, unexpected 'description' (T_STRING) on line 57 which is the line that starts <meta name etc.
If anyone can help figure this out in php or non-php, I'd appreciate it. It seemed so simple.
Thanks
Millie Moore