It's possible to create folders using the values of one array like:
$folders = array( "GT-I5500", "GT-I5500B", "GT-I5500L", "GT-I5500M", "GT-I5503" );
How can I create Five folders from above array using PHP code?
It's possible to create folders using the values of one array like:
$folders = array( "GT-I5500", "GT-I5500B", "GT-I5500L", "GT-I5500M", "GT-I5503" );
How can I create Five folders from above array using PHP code?
foreach($folders as $folder)
{
if (!file_exists($folder)) {
mkdir($folder, 0777, true);
}
}