skizzy Posted March 31, 2011 Posted March 31, 2011 how would u make a link show only for a specific ID Quote
Kieran-R Posted March 31, 2011 Posted March 31, 2011 if ($ir['userid'] == 1) { echo "[url=''][/url]"; } Quote
skizzy Posted March 31, 2011 Author Posted March 31, 2011 thank you i just couldn't think how to do it Quote
Paul Evans Posted March 31, 2011 Posted March 31, 2011 if ( in_array($userid, array(1,2,4,7,182)) { echo '[url="link.aspx"]link[/url]'; } is a good example of showing to mutiple ids you could also use this for userlevels or whatever. 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.