0
How create change of background php code
php
4 Answers
+ 13
@Eric Fabro wrote: >> Okay, how? <<
Same CSS properties and rules!
// Javascript
document.body.background = rules
As @Wisdom said, change background w/h PHP is not the best solution, but... it is possible:
// PHP
echo '<body style="background: rules">';
Replace 'rules' with your rules, as i already wrote, you can change the JS properties using the camelCase syntax and the PHP properties with the inline style syntax. :)
+ 4
Change background using PHP?
I don't think PHP is the best to do that. You might want to try Javascript.
- 1
okay how?
- 2
okay thanks. I like the full code how create Change Background using php or java. please