Gaara Ichimaru Posted May 1, 2011 Posted May 1, 2011 So I know that to print your own display picture you use <img src="{$ir['display_pic']}"> But what would the code be if I wanted to show the display picture for someone you are attacking? Any help is appriciated :) Thanks. -Gaara Quote
lucky3809 Posted May 1, 2011 Posted May 1, 2011 (edited) it would be the $var that is Selecting their info in a query.. $odata or whatever you are using. make sure your query is selecting display_pic. Edited May 1, 2011 by lucky3809 1 Quote
Uridium Posted May 1, 2011 Posted May 1, 2011 <img src="{$odata['display_pic']}"> and <img src="{$youdata['display_pic']}"> odata being opponent 1 Quote
Gaara Ichimaru Posted May 1, 2011 Author Posted May 1, 2011 Thanks guys I got it now, I completely missed that the first scan through :dumb: Works fine now :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.