Sorry Jason Think I know where were at now although you might say different:
I have set up a test page see:
http:gallerytest.php
The page still isnt showing the gallery after I have pasted the code in if you view page source code it is all there so what am I doing wrong now Thanks Alistair
sorry it not all showing its ignoring the php code the actual page source is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Gallery Test</title>
</head>
<body>
<div style="width:1024px; height:200px; border:1px #666 solid; margin: 20px 0 0 20px; padding:20px;">
<?php require_once('wa_evaluate.php'); ?>
<?php
include('/var/www/vhosts/canopiesuk.com/httpdocs/WA_CMS/addtosite.php');
echo wa_evaluate(WA_getCMSContent($database_localhost, $localhost, 'gallery test' , 'test'));
?>
</div>
</body>
</html>