hi all!
i have a function how create a query from an array
example:
$var1="one";
$var2="two";
$var3="three";
create_query("table",array($var1,$var2,$var3),"insert")
how can have this query?
"insert into table (var1,var2,var3) values ('one','two','three')"
my difficult is print the name of a variable
example: var1 from $var1