if($oxycfg["smileys"] == '1') {
// Smileys and codes
$oxyshout->connect();
$query = $oxyshout->query("SELECT code, image FROM ".$oxyshout->oxycfg['table_smileys']." WHERE theme = '".$oxycfg["theme"]."'");
while($r = mysql_fetch_array($query)) {
$tpl['help_smileys'] = $oxyshout->do_template("help_smileys");
$tpl['help_smileys'] = str_replace ("{code}", $r["code"], $tpl['help_smileys']);
$tpl['help_smileys'] = str_replace ("{smiley}", "<IMG SRC=\"shoutbox/templates/".$oxycfg["theme"]."/smileys/".$r["image"]."\" BORDER=0 ALT=\"".$r["code"]."\">", $tpl['help_smileys']);
echo $tpl['help_smileys'];
}
}
That snippet is referring to a template:
<div class="shoutsmiley">{smiley} = {code}</div>
I need to edit the above piece of code to show the array its creating on a row. (So the output must be AFTER eachother instead of UNDER eachother...) I looked into php.net for alternate commands but nothing worked n00b on the fly
Anyway, some one got a idea? Many thanks in advance 😉