PHP expert | 
                 | 
                
				
				
    
    
        
            
                <form action="test.php">
<input type="text" name="voegtoe">
<input type="submit" name="add" value="Add">
</form>
<?php
$voegtoe = $_POST["naam"];
?>
<?php
if (isset($_POST['add'])) {
$opslag = "opslag.txt";
$bestand = fopen($opslag,"w");
fwrite ($bestand,$voegtoe);
?>
             
            <form action="test.php"> <input type="text" name="voegtoe"> <input type="submit" name="add" value="Add"> </form>   <?php $voegtoe = $_POST["naam"]; ?>   <?php if (isset($_POST['add'])) { $opslag = "opslag.txt"; $bestand = fopen($opslag,"w"); ?> 
 
  
         
          
     
   
 
Ik krijg een error op lijn 17, terwijl er maar 15 lijnen zijn.. wat is hier fout, en hoe krijg ik hem werkend??				
				 |