.php css switcher
.php css switcher
Out of context: Reply #9
- Started
- Last post
- 13 Responses
- acescence0
i'm confused. just including the file doesn't call the function, you need to add a call to the function like:
switchCSS();
after the last bracket, or remove:
function switchCSS() {
and the closing } at the end. it doesn't make sense that it would work at all, unless there's part of the php file missing here?also- the get_browser function returns an array of all the browsers capabilities, this isn't something that is normally used for browser sniffing, i think you just need the HTTP_USER_AGENT. hold on, let me whip something up for you..