John99 Posted March 2, 2007 Posted March 2, 2007 What bit in header when someone goes in hostpial and jail they get the jail or hospital pictures please help alan :) with the bit of code here :) Quote
twist_killer Posted March 2, 2007 Posted March 2, 2007 Re: Help Please:) could u rephrase the question..i dont seem to understand it Quote
-Genocide- Posted March 2, 2007 Posted March 2, 2007 Re: Help Please:) could u rephrase the question..i dont seem to understand it I second that notion Quote
twist_killer Posted March 2, 2007 Posted March 2, 2007 Re: Help Please:) could u rephrase the question..i dont seem to understand it I second that notion what?? Quote
-Genocide- Posted March 2, 2007 Posted March 2, 2007 Re: Help Please:) (i cant understand what he wants either) Quote
-Genocide- Posted March 2, 2007 Posted March 2, 2007 Re: Help Please:) I believe its one of 3 things: 1. Different backgrounds when in jail or hospital or 2. Different banners when in jail or hospital. or 3. He really means where can he get milk from at 4am :-o I know the last one :O (the arab store on the corner....there open 24/7) Quote
nheimberg Posted March 2, 2007 Posted March 2, 2007 Re: Help Please:) I think he is wanting to know how to make the banner switch to a hospital banner or a jail banner when in hosp or jail. He knows it is in the header, but cant seem to make it work. Quote
twist_killer Posted March 2, 2007 Posted March 2, 2007 Re: Help Please:) I believe its one of 3 things: 1. Different backgrounds when in jail or hospital or 2. Different banners when in jail or hospital. or 3. He really means where can he get milk from at 4am :-o am pretty sure its the second one Quote
-Genocide- Posted March 2, 2007 Posted March 2, 2007 Re: Help Please:) I think he is wanting to know how to make the banner switch to a hospital banner or a jail banner when in hosp or jail. He knows it is in the header, but cant seem to make it work. ive never tried that :P but im sure its not hard, I coded my header so it displays random banners every time you refresh. http://notoriousonline.net Quote
Arson Posted March 3, 2007 Posted March 3, 2007 Re: Help Please:) its rather easy.. look in header for the line that prints out your banner. then change it like this: $banner="<img src=regularbanner.jpg>"; if($ir['hospital']>0) { $banner="<img src=hospbanner.jpg>"; } if($ir['jail']>0) { $banner="<img src=jailbanner.jpg>"; } print"$banner"; 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.