I am needing help. I want to create files with variable file names - I am creating a membership website and want each member to be able to have a blog username.htm The problem is that when I try to create this using the fopen function it is not recognizing the variable. This is the code I had:
$r=mysql_query("SELECT * FROM members WHERE Username='$_SESSION[username]'"); while($userinfo=mysql_fetch_array($r)) $blog=$userinfo[Username]; $cblog="$blog.htm"; $createblog=fopen($cblog,a);
Please can someone help. Thanks.