jeg har svært ved at se hvordan jeg får det til at arbejde med min php kode.
<?
include("b6A3q4Y9.php");
?>
<?php
$navn = $_POST['navn'];
$mobilnr = $_POST['mobilnr'];
$koen = $_POST['koen'];
$alder = $_POST['alder'];
$postnr = $_POST['postnr'];
$gruppe = $_POST['gruppe'];
$email = $_POST['email'];
$time = date("Y-m/d H:i:s");
$ip = $_SERVER['REMOTE_ADDR'];
if(!empty($_POST['navn'])){
$insertSQL = "insert into tagwall (navn, mobilnr, koen, alder, postnr, gruppe, email, time, ip) values ('$navn', '$mobilnr', '$koen', '$alder', '$postnr', '$gruppe', '$email', '$time', '$ip')";
mysql_query($insertSQL)or die(mysql_error());
}
mysql_close() or die(mysql_error());
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>xxx</title>
<style type="text/css">
<!--
body {
margin-left: 10px;
margin-top: 100px;
margin-right: 10px;
margin-bottom: 10px;
background-color: #FF8041;
}
.style15 {
color: #FFFFFF;
font-family: "Courier New", Courier, mono;
font-size: 12px;
}
.style16 {
font-family: "Courier New", Courier, mono;
font-size: 36px;
color: #FFFFFF;
}
-->
</style></head>
<body>
<table width="600" height="540" border="0" align="center" cellpadding=" 5" cellspacing="0">
<tr>
<th scope="row"><div align="center"><img src="../logo%20xirod39.jpg" width="730" height="69"></div></th>
</tr>
<tr>
<th scope="row"><div align="center"><img src="../tilmeld.jpg" width="499" height="29"></div></th>
</tr>
<tr>
<th scope="row"><div align="center">
<table width="710" height="380" border="0" cellpadding=" 5" cellspacing="0">
<tr>
<th height="324" align="center" valign="middle" scope="col">
<form method="post" action="tilmeld.php">
<table width="322" border="0" cellPadding="0" cellSpacing="0">
<tr>
<td width="112" class="style15"><div align="left">Dit navn:</div></td>
<td width="209"><div align="left">
<input name="navn" type="text" class="text" id="name" size="30" maxlength="30">
</div></td>
</tr>
<tr>
<td width="112" class="style15"><div align="left">Mobil nr:</div></td>
<td>
<div align="left">
<input id="mobilnr" type="text" class="text" size="12" maxlength="20" name="mobilnr" value="+45">
</div></td>
</tr>
<tr>
<td width="112" class="style15"><div align="left">Køn</div></td>
<td>
<div align="left">
<select id="koen" name="koen">
<option value="Mand">Mand</option>
<option value="Kvinde">Kvinde</option>
</select>
</div></td>
</tr>
<tr>
<td width="112" class="style15"><div align="left">Alder:</div></td>
<td>
<div align="left">
<input id="alder" type="text" class="text" size="6" maxlength="3" name="alder">
</div></td>
<td width="1"></td>
</tr>
<tr>
<td width="112" class="style15"><div align="left">Post nr:</div></td>
<td><div align="left">
<input name="postnr" type="text" class="text" id="postnr" size="6" maxlength="8">
</div></td>
</tr>
<td width="112" class="style15"><div align="left">Gruppe</div></td>
<td><div align="left">
<select name="gruppe" size="6" multiple id="gruppe" lang="da">
<option value="Benzinpriser" selected>Benzinpriser</option>
<option value="Trafikken">Trafikken</option>
<option value="Nyheder">Nyheder</option>
<option value="Alarmering">Alarmering</option>
<option value="Jokes">Jokes</option>
<option value="Dating">Dating</option>
</select>
<img src="../i_icon.JPG" width="23" height="22" border="0" align="bottom" usemap="#Map"></div></td>
</tr>
<tr>
<td class="style15"><p align="left">Din e-mail</p></td>
<td><div align="left">
<input name="email" class="text" type="text" id="email" size="30">
</div></td>
</tr>
<tr>
<td valign="top"> <div align="left"></div></td>
<td valign="top"><div align="left">
<input type="submit" id="submit" value="Send" name="MySubmit">
<input type="reset" id="reset" value="Slet alt" name="Reset">
</div></td>
</tr>
<tr>
<td height="22"><div align="left"></div></td>
<td vAlign="bottom" height="22"><div align="left" class="style15">Alle felter skal udfyldes!!</div></td>
</tr>
</table>
</form>
</th>
</tr>
<tr align="center" valign="middle">
<th scope="col"><table width="600" height="19" border="0" cellspacing="0" cellpadding="5">
<tr align="center" valign="middle">
<th width="95" scope="col"><a href="tilmeld.php" target="_top"><img src="../tilmeld_but.jpg" width="95" height="19" border="0"></a></th>
<th width="143" scope="col"><a href="betingelser.htm" target="_top"><img src="../betingelser_but.jpg" width="143" height="19" border="0"></a></th>
<th width="9" scope="col"><a href="priser.htm" target="_top"><img src="../Priser_but.jpg" width="85" height="19" border="0"></a></th>
<th width="288" scope="col"><a href="omkring.htm" target="_top"><img src="../omkring_but.jpg" width="245" height="19" border="0"></a></th>
<th width="15" scope="col"><a href="kontakt.htm" target="_top"><img src="../kontakt_but.jpg" width="102" height="19" border="0"></a></th>
</tr>
</table> </th>
</tr>
</table>
</div></th>
</tr>
<tr>
<th scope="row"><div align="center">
<p class="style3"><img src="../powered%20by.jpg" width="381" height="21"></p>
</div></th>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="0,1,22,22" onclick="window.open('info.htm','Indhold','width=780,height=460');return false;">
</map>
</body>
</html>