How to add a background image to the php file? I added php to the html file, but the background effect cannot be displayed in the browser (neither can I use css, maybe I won't do it)
Reply to discussion (solution)
Can't I use CSS? Paste your code.
A little confusing. please restore the entire process in detail. How to add php in html?
JavaScript/jquery is used to control the html display effect. html or css is still involved.
Check whether the src of img can read bgimage correctly.
Background-image
The path in php is based on the current execution file address.
Check whether the css call path you call can be run in the current php file.
In addition, make sure that your css is correctly written.
Please write a complete piece of code and take it for me!
Check whether the image path is incorrect!
Firefox is not powerful and cannot be displayed.
PHP downloads images in the CSS file
Http://3aj.cn/php/33.html