This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function review_fields($fields){ | |
| settype($fields, "array"); //somehow the $fields is originally a weird array-like string | |
| // the empty strings will be replaced at the array merge | |
| $order = array( | |
| "author" => '', | |
| "email" => '', | |
| "url" => '', | |
| "comment" => '', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $countries = array(); | |
| $countries[] = array( | |
| "name" => "Abkhazia", | |
| "code" => "995", | |
| "ISO3166-2" => "GE", | |
| "ISO3166-3" => "GEO", | |
| ); | |
| $countries[] = array( |