[thelist] PHP - RegExp & Array problems

Beau Hartshorne beau at members.evolt.org
Sun Jun 23 12:20:01 CDT 2002


> Ok. Basically, I have a db with all my stylesheets in it. This goes
through
> and sets the visual stylesheets to either alternate or normal
stylesheets
> depending on what people have selected as their preferred one (my PHP
CSS
> switcher). The trouble is this file is a directory below the
public_html
> level, and so it's not allowed to connect to the db, so stylearray.php
just
> walks through the db, and assembles an array with all the information
and
> returns it. That's what stylelist is. $prefstyle is the title of their
> preferred stylesheet.

If you could post as much of the code as possible, that would help me
understand what you're doing, and exactly how you're trying to do it.

Thanks,

Beau





More information about the thelist mailing list