Creating a PHP array from variables
It is possible to use compact PHP function to create array from variables. compact function accepts the names of variables as parameters. These names are string names of variables. The resulting array will contain names of variables as keys and values of variables as values of those array elements.
Comments
Post a Comment