PHP:
<!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>Untitled Document</title>
</head>
<body>
<div id="apDiv1"> <a href="/index.php"><img src="/afbeeldingen/carhirehead.jpg" width="1094" height="112" alt="home" /></a>
</div>
<div id="apDiv2">
<a href="index.php?p=cars">Cars </a>
</div>
<div id="apDiv3">
<a href="index.php?p=contact">contact </a>
</div>
<div id="apDiv4">
<?php
if (isset($_GET['p'])) {
$includebstandtemp = $_GET['p'];
if (is_file($_GET['p'] . '.html')) {
$includebstand = ''.$includebstandtemp.'.html';
}
}
else {
$includebstand = '';
}
if (!empty($includebstand)) {
include($includebstand);
}
?>
<?php if (!isset($_GET['p'])) { ?>
<h1>We only supply top condition
Toyota Vios, Vigo and Fortuner vehicles</h1>
<p><strong>Rates from 800 baht per day<br />
Minimum hire period 4 days <br />
<br />
Full insurance cover<br />
Long term rental discounts<br />
Free local delivery<br />
Low mileage fully serviced<br />
Nationwide breakdown cover<br />
<br />
Contact us<br />
<a href="mailto:inquiry@carhuahin.com">inquiry@carhuahin.com</a><br />
+66 80-2208519</strong></p>
<?php } ?>
</div>
</body>
</html>
Ik heb deze van een bestande site van mijzelf maar nu klopt er niks meer van ?
Waarom zet deze niet netjes drie div naast elkaar?
Ik kan hem ook al niet meer opslaan dan zeg DW
Encountered a sharing violation while accessing?
Wie kan me hiermee helpen