Skip to content

Instantly share code, notes, and snippets.

@bologer
Created June 16, 2015 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bologer/642a24a2c4980c188e08 to your computer and use it in GitHub Desktop.
Save bologer/642a24a2c4980c188e08 to your computer and use it in GitHub Desktop.
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