Need PHP coding help PLEASE HELP!!!?

brandon

New member
ok this will be hard to explain

there is a part on my website that says this
$bgcolor = 'ffffff';

i want to know what i can turn that into to put an image there and i think it is close to this $bgimage = 'image url';

but i have already tried that and it doesnt work. is there something im suppose to add to it?

and then i tried to put it the other way were its like this

.dgradr {
background-image:url(dgradr.jpg);
background-repeat:no-repeat;
height:38px;
width:38px;

but that didnt work either

please help!!!
tried both chris's doesnt work i dont see what kevin is talking about the $bgcolor = "ffffff"

is the whole line

and nathan's coding is html but can be used in bb in somecases but noth this case
 
This line:
$bgcolor = 'ffffff';
Just assigns a value of ffffff t varible $bgolor. So later in the do you should see: <body bgcolor="$bgcolor"> or something similar depending on how they did it. To have an image as a background do this to the <body> tag:

<body bgcolor="#FFFFFF" background="/path/to/image.jpg">
 
Back
Top