Re: PHP link to CSS page.
You can echo the content out you want without a problem, just make sure you escape the string : http://php.net/manual/en/language.types.string.php
echo "This is an example of a \"quotes\" in a string";
Will display:
Quote:
This is an example of a "quotes" in a string
You can use the same method to embed your HTML
How have you got onto server variables and loops without learning string functions?
Re: PHP link to CSS page.
Quote:
Originally Posted by
Agent
You can echo the content out you want without a problem, just make sure you escape the string :
http://php.net/manual/en/language.types.string.php
echo "This is an example of a \"quotes\" in a string";
Will display:
You can use the same method to embed your HTML
How have you got onto server variables and loops without learning string functions?
Thanks....for the suggestion
I learn as I go, and borrow from other scripts, and a lot of trail and error. I built a few sites a while back and then forget everything.
For my latest project, I have the scripts functioning correctly and now im trying to make it look pretty,
Re: PHP link to CSS page.
Have you seen jquery UI themeroller?
I almost never bother spending time prettifying a site nowadays - chances are, jquery UI already has something to do the job that is customisable, and looks great
Re: PHP link to CSS page.
To tidy things up somewhat and as part of your development in learning PHP you may want to consider taking a look at "Smarty". This is a fairly well known Template engine for PHP and has an easy to use syntax for building your templates.