Guest_imported
New member
- Jan 1, 1970
- 0
<?php
Header("Location:suplijst.html"
?>
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Supporter toevoegen</title>
</head>
<body>
<?php
$uitvoerbestand = "suplijst.html";
$bestandsindex = fopen($uitvoerbestand,"a"
for($i=1; i<count($bestandsindex); $i++)
if($bestandsindex[$i] == "<table border=1 color=white>"
fwrite($bestandsindex, "<tr><td> $nick </td> <td> $naam </td><td> $voornaam </td><td> $quote </td>"
fclose($bestandsindex);
?>
</body>
</html>
so, in the document "suplijst.html" I want to add the given information after the line <table ... > and everything that is written after that tag has to be placed after the information I added. But is doesn't work. This is what is in my ""suplijst.html" document :
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Supporterslijst</title>
</head>
<body bgcolor=black>
<table border=1 color=white>
</body>
</html>
Can someone tell me how to solve this ?
THX
Header("Location:suplijst.html"
?>
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Supporter toevoegen</title>
</head>
<body>
<?php
$uitvoerbestand = "suplijst.html";
$bestandsindex = fopen($uitvoerbestand,"a"
for($i=1; i<count($bestandsindex); $i++)
if($bestandsindex[$i] == "<table border=1 color=white>"
fwrite($bestandsindex, "<tr><td> $nick </td> <td> $naam </td><td> $voornaam </td><td> $quote </td>"
fclose($bestandsindex);
?>
</body>
</html>
so, in the document "suplijst.html" I want to add the given information after the line <table ... > and everything that is written after that tag has to be placed after the information I added. But is doesn't work. This is what is in my ""suplijst.html" document :
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Supporterslijst</title>
</head>
<body bgcolor=black>
<table border=1 color=white>
</body>
</html>
Can someone tell me how to solve this ?
THX