Can somebody help me with php? I have a css file and I would like to use those styles in the php code...is that possible?
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
When you output web pages with PHP, you basically print the HTML to the web port. I see no reason why including CSS as yet more output would be a problem. A little research shows people doing a lot with it:
Wow that css embedded in a php page, and referenced by the html page with a is really cool
But ya.. looks pretty easy to put css in the file.. either using echo "//css" or simply ending the php tag ?>, then putting your html/css like you normally would - then you can place more php tags as you need them.. I think
Not the answer you are looking for? Search for more explanations.
Yep. The issue is escaping things to have the right number of \ in there, and things like that, which is the sae issue with PHP to HTML.
Thankyou, I got it. I'm working on a project and wasn't looking at all the files...it really was rather silly...I failed to look at the php file that contained the functions that defined what was going to be output to the html file.