Nieuw lid |
|
er is door iemand een gastenboek gemaakt maar er zit ergens een fout, maar ik weet niet wat de foto is,
dit is het script van bekijk
<HTML>
<HEAD>
<TITLE>WK Poule Uitslagen</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
</HEAD>
<BODY BGCOLOR=#CCFF99 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="100%" height="100%">
<tr>
<td width="100%" height="100%" align="center" valign="center">
<table width="10" height="10">
<tr>
<td witdh="10" height="10">
<TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=5>
<IMG SRC="images/index_01.png" WIDTH=800 HEIGHT=183 ALT=""></TD>
</TR>
<TR>
<TD background="images/index_02.png" WIDTH=17 HEIGHT=310>
</TD>
<TD background="images/index_03.png" WIDTH=150 HEIGHT=310 valign="top">
<p>- <a href="index.php?pagina=home">Homepage</a> <br>
- <a href="index.php?pagina=toevoegen">Schrijf gastenboek<br>
</a>- <a href="index.php?pagina=bekijk">Lees gastenboek </a><br>
</p>
</TD>
<TD background="images/index_04.png" WIDTH=31 HEIGHT=310>
</TD>
<TD background="images/index_05.png" WIDTH=581 HEIGHT=310 valign="top">
<center>
<link rel="stylesheet" href="style.css" type="text/css">
Kon de berichten niet ophalen!</center></TD>
<TD background="images/index_06.png" WIDTH=21 HEIGHT=310>
</TD>
</TR>
<TR>
<TD COLSPAN=5>
<IMG SRC="images/index_07.png" WIDTH=800 HEIGHT=41 ALT=""></TD>
</TR>
<TR>
<TD ROWSPAN=2>
<IMG SRC="images/index_08.png" WIDTH=17 HEIGHT=66 ALT=""></TD>
<TD COLSPAN=3 background="images/index_09.png" WIDTH=762 HEIGHT=27 align="center">
© Je copyright
</TD>
<TD ROWSPAN=2>
<IMG SRC="images/index_10.png" WIDTH=21 HEIGHT=66 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="images/index_11.png" WIDTH=762 HEIGHT=39 ALT=""></TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>
<HTML> <HEAD> <TITLE>WK Poule Uitslagen</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="style.css" type="text/css"> </HEAD> <BODY BGCOLOR=#CCFF99 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <table width="100%" height="100%"> <tr> <td width="100%" height="100%" align="center" valign="center"> <table width="10" height="10"> <tr> <td witdh="10" height="10"> <TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR> <TD COLSPAN=5> <IMG SRC="images/index_01.png" WIDTH=800 HEIGHT=183 ALT=""></TD> </TR> <TR> <TD background="images/index_02.png" WIDTH=17 HEIGHT=310> </TD> <TD background="images/index_03.png" WIDTH=150 HEIGHT=310 valign="top"> <p>- <a href="index.php?pagina=home">Homepage</a> <br> - <a href="index.php?pagina=toevoegen">Schrijf gastenboek<br> </a>- <a href="index.php?pagina=bekijk">Lees gastenboek </a><br> </p> </TD> <TD background="images/index_04.png" WIDTH=31 HEIGHT=310> </TD> <TD background="images/index_05.png" WIDTH=581 HEIGHT=310 valign="top"> <center> <link rel="stylesheet" href="style.css" type="text/css"> Kon de berichten niet ophalen!</center></TD> <TD background="images/index_06.png" WIDTH=21 HEIGHT=310> </TD> </TR> <TR> <TD COLSPAN=5> <IMG SRC="images/index_07.png" WIDTH=800 HEIGHT=41 ALT=""></TD> </TR> <TR> <TD ROWSPAN=2> <IMG SRC="images/index_08.png" WIDTH=17 HEIGHT=66 ALT=""></TD> <TD COLSPAN=3 background="images/index_09.png" WIDTH=762 HEIGHT=27 align="center"> © Je copyright </TD> <TD ROWSPAN=2> <IMG SRC="images/index_10.png" WIDTH=21 HEIGHT=66 ALT=""></TD> </TR> <TR> <TD COLSPAN=3> <IMG SRC="images/index_11.png" WIDTH=762 HEIGHT=39 ALT=""></TD> </TR> </TABLE> </td> </tr> </table> </td> </tr> </table> </BODY> </HTML>
en dit is de mysql maar volgende mij is hier niet fout aan
<?php
// Verbinding maken met de database
mysql_connect("localhost","webmaster","simcity"); // host, user, pass
mysql_select_db("webmaster"); // mysql database
// Thnx to FangorN for this function
function check_email($in)
{
$patroon = "/^([a-z0-9_-]+\.)*[a-z0-9_-]+@([a-z0-9_-]{2,}\.)+([a-z0-9_-]{2,})$/i";
return preg_match($patroon, $in);
}
?>
<?php // Verbinding maken met de database mysql_connect("localhost","webmaster","simcity"); // host, user, pass // Thnx to FangorN for this function function check_email($in) { $patroon = "/^([a-z0-9_-]+\.)*[a-z0-9_-]+@([a-z0-9_-]{2,}\.)+([a-z0-9_-]{2,})$/i"; } ?>
ik zie het wel
sander
|