how can i capture the image according to the value of a storage
Myaac
PHP:
<?php
$monster = $db->query('SELECT `value` FROM `global_storage` WHERE `key` = 56404');
?>
<img id="Monster" src="images/monsters/<?php $monster ?>.gif" onClick="window.location = '?subtopic=creatures&creature=<?php echo $config['logo_monster'] ?>';" alt="Monster of the Week" />
<img id="PedestalAndOnline" src="<?php echo $template_path; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
Myaac