CSS

All input, comments, and site suggestions here.
All Websites are constantly evolving works in progress, so fire away!

CSS

Postby banikian » Fri Nov 20, 2009 7:56 am

How do i get a CSS file to load in PhP? I have just set up a database witch contains different department details. In this database i have set up a coloum to contain the location of the css file linked to that department. what i would like is when the user clicks on a link the database is queryed to see which department the webpage should be in and then sets the pages CSS to the correct department.
_____________________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com
Last edited by banikian on Fri Nov 27, 2009 7:11 am, edited 1 time in total.
banikian
 
Posts: 1
Joined: Thu Nov 19, 2009 5:15 am

Re: CSS

Postby Dale Ray » Fri Nov 20, 2009 4:51 pm

When a user clicks on a link how is the page created? Are you using static pages or dynamic pages? Are you using viewnews.cgi to generate the pages?

Do you need the css to change for the same content?

If you are using viewnews read this:

viewnews.cgi User's Guide
Dale Ray | Coranto Docs
Do not e-mail or PM me with support requests
Post your questions here in the forums
Please Search the Forums and Docs Wiki first
User avatar
Dale Ray
 
Posts: 1187
Joined: Sun Jan 19, 2003 6:02 pm
Location: NW Indiana


Return to Coranto.org Site Development

Who is online

Users browsing this forum: No registered users and 1 guest