Create Variable If Not Exist in PHP

I searched many websites to find how to make variable in php if it’s not exist. But what I found just how to set value from variable like:

<?PHP $z=$_POST['Haha']; $var=""; if(empty($var) || $var==""){ $var = $z } ?>

What I want like:

<?PHP $z=$_POST['Haha']; if(not exist $var with name $z){ create $var with name $z and set value = ""} ?>

If folder doesn’t exist we use mkdir. If variable doesn’t exist, what we use to make?

Can someone give me solution?
Sory for my bad english and thanks before.


Download create.variable.if.not.exist.in.php.zip
Direct Link


Download


Download create.variable.if.not.exist.in.php.zip
Mediafire


Download


Download create.variable.if.not.exist.in.php.zip
Unlimitzone


Download


Download create.variable.if.not.exist.in.php.zip
Fileforever


Download


Download create.variable.if.not.exist.in.php.zip
UPLOADING.com


Download

Both comments and pings are currently closed.

Comments are closed.