[thelist] PHP - Can write to [head] tag?
Nick Wilson
nick at explodingnet.com
Thu Mar 7 01:35:01 CST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* and then Andrew Forsberg declared....
> >I seem to be having trouble writing the style tags into the [head]
> >section.
>
> What sort of trouble? Generating style sheets in the head area should
> work:
>
> <?php
> print ("<style type='text/css'>\n<!--\n");
> print ("//style stuff");
> print ("-->\n</style>\n");
> ?>
or just define a function that just print's out the html as above.
Better still, get into templates, they'll make your life /way/ easier...
- --
- -----------------------------------------------------------
www.explodingnet.com | Projects, Forums and
+ Articles for website owners
- -- Nick Wilson -- | and designers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8hxicHpvrrTa6L5oRApvQAKCxiyhaY71vmjv45LLLn6l3KDN8hgCfWhMQ
ZCG5MwIFJ/A4S7EN/nVLFSA=
=ZE30
-----END PGP SIGNATURE-----
More information about the thelist
mailing list