Created
June 16, 2015 23:32
-
-
Save bologer/642a24a2c4980c188e08 to your computer and use it in GitHub Desktop.
This file contains 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
foreach ($res as $mod) { | |
$db->update('mods', array( | |
'mod_icon' => lgsl_icon_game1($mod['short_name'], $mod['short_name']) | |
), | |
'short_name="' . $mod['short_name'] . '"' | |
); | |
$result = $db->getResult(); | |
print_r($result); | |
// echo '<img src="' . lgsl_icon_game1($mod['short_name'], $mod['short_name']) . '" /> <br/>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment