/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Will turn key=value string into associated array * * @param string $str key/value string to convert to array * @param string $delim * @return array */ function explode_to_assoc_array($str,$delim) { $result[$key] = $val; } return $result; }
Comments
