View Single Post
Old 19-03-2004, 09:12   #1
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
PHP help needed this time :D

hellup, I need to include a CSS file based on a field entry in a database

Let's say the field name is test, it has 3 entries, nob, blah and oi

What I need to to do is enter the url (for example) http://www.website.com/test.php?test=oi and it'll then read the database, see that the field test is "oi" and load a relevant CSS file for "oi" ...

does that make any sense?

Cheers

edit: alternatively, what'd be easier for me to incorporate is if someone goes to http://www.website.com/test.php?test=oi it'll load oi.css and bypass the database automatically.
Bifta is offline   Reply With Quote