so I'm trying to make a directory according to a value captured from a form. here is my original code:
$myfolder="/Members/$lname/gen1";
$mkdir($myfolder);
where $lname is the value from the form. it says function name must be a string on the line of the $mkdir function is called what am i doing wrong can I do this?
basic string problem trying to get around it
Moderator: General Moderators
-
cdparmeter
- Forum Newbie
- Posts: 4
- Joined: Fri Apr 17, 2009 12:51 pm
-
cdparmeter
- Forum Newbie
- Posts: 4
- Joined: Fri Apr 17, 2009 12:51 pm
Re: basic string problem trying to get around it
stupid mistake, thanks but it's not working now it says
"Warning: mkdir() [function.mkdir]: No such file or directory in C:\xampp\htdocs\myfamilybiography\newmember.php on line 68"
doesn't mkdir() make the path declared?
"Warning: mkdir() [function.mkdir]: No such file or directory in C:\xampp\htdocs\myfamilybiography\newmember.php on line 68"
doesn't mkdir() make the path declared?