Hello,
I am trying to write a website that will create files based on a users login ID. I keep trying diffrent coding methods but get the same error all the time. My current code is :
<?
//---------------------------------------//
//This is the Processing page to put //
//the info entered from registration.php //
//into the vlogs database. //
//---------------------------------------//
?>
<?
$uname = $_POST['uname'];
fwrite($uname);
?>
When I run this I get the following error messege:
Warning: Wrong parameter count for fwrite() in c:\inetpub\wwwroot\vlogs2\regprocess.php on line 13
I tried to read the PHP manual but I could not find anything that helped me. Please help me with what I am doing wrong