• PHP multidimensional array to form hidden inputs

    March 22, 2019

    /** * Corvert array data to hidden inputs * to pass as form data * * Example: [data => [sub1 => 1, sub2 => 2]] * * * * @author Ivan Gospodinow * @see http://ivangospodinow.com/?p=455 * @param array $array * @param [array | string] $exclude * @return string */ function arrayToHiddenInput(array $array, $exclude = null) […]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org