PHP Problem in Lotus?

Status
Not open for further replies.

ezdookie

New Member
Messages
17
Reaction score
0
Points
0
Hi, some hours my webhost was working fine but now it seems that it got a problem with PHP because when I get in www.greendaysudamerica.net it shows the php code as html.... Look in View->Page Source....

PHP:
<? }
		switch($_GET['page']) {
			case 'argentina':
				include('countries/c.argentina.php');
				break;
			case 'chile':
				include('countries/c.chile.php');
				break;
			case 'ecuador':
				include('countries/c.ecuador.php');
				break;
			case 'peru':
				include('countries/c.peru.php');
				break;
			case 'colombia':
				include('countries/c.colombia.php');
				break;
			case 'wallpapers':
				include('wallpapers.php');
				break;
			case 'sudamerica':
				include('sudamerica.php');
				break;
			case 'links':
				include('links.php');
				break;
			case 'fanart':
				include('fanart.php');
				break;
			default:
				include('main.php');
		} ?>

However when I get in forums www.greendaysudamerica.net/forums it works fine...

I don't know exactly what is going on my webhost.... :dunno::dunno:

Thanks
Edit:
Hi, people who got this error... Just fix your php code in your web...

If you are starting php code with
PHP:
<?
.. change it to
PHP:
<?php

That's all... :thefinger
 
Last edited:
Status
Not open for further replies.
Top