JayC
Well-Known Member
Right I have been working on this page but its not getting the information I want from the database..
So the variable T is getting the tables and then I want it to display the look of the character, but the problem is its not I am not sure why. I have tried multiple things but this is what it keeps looking like:
but if I removed ' . $t['look'] . ' and paste the actual code of my look it will work Anyone think they can help?
Code:
<?php
$t = dbquery("SELECT * FROM users WHERE id = '".USER_ID."' LIMIT 1");
echo '<img style="margin-top: -10px;" src="http://lunar-hotel.com/includes/imager.php?figure=' . $t['look'] . '&size=m">';
?>
So the variable T is getting the tables and then I want it to display the look of the character, but the problem is its not I am not sure why. I have tried multiple things but this is what it keeps looking like:
but if I removed ' . $t['look'] . ' and paste the actual code of my look it will work Anyone think they can help?