Original Post
hey, im brand new 2 this site, but i desperatly need some php help, i didnt write this at all, i cant do php, but i need this desperatly on my site, herz teh error Warning: fclose(): supplied argument is not a valid stream resource in /home/elementa/public_html/lexus/process.p hp on line 10 AND the code <? $name = $_POST['name']; $site = $_POST['site']; $mail = $_POST['email']; // write data $f = 'data.txt'; fopen($f, 'a+'); fwrite($f, 'a+',$name . " | " . $site . " | " . $mail . " | " . "\n"); fclose($f); //dump it $open = file($f); foreach ($open as $keys => $values) { echo $keys . " | " .$values; echo "<br /> \n"; } ?> thanks a bunch guys,