I am atm. building up my site and are using the new wamp5
i now seem to have a problem with the php in it
example 1:
<?php
$conn = mysql_query("SELECT * FROM settings"
or die (mysql_error());
$rs = mysql_fetch_array($conn);
?>
<title><?=nl2br($rs["title"]);?></title>
this on my site returns this as the topic:
<?=nl2br($rs155["title"]);?>
example 2:
<a href="<?=$siteDir;?>news.php"><img src="<?=$siteDir;?>index_filer/buttons/off_news.gif" name="news"></a>
This dosen't return anything
what on earth is wrong with this