View Full Version : Setting CSS Class to an Echo Statement?
I am wondering if its possible (well..I'm sure it is..lol) to set a css class to an echo statement. What I mean is, I am working with a reciprocal link script which is here Script (http://www.halcyondesignstudio.com/directory/resources.php)
and when I click on a category, the style is all messed up. It accesses a separate script for the output and its entirely in php with no html element and I'm wondering how I would go about incorporating the styles from the main page into the other included and entirely php scripts.
I so hope that made sense...lol
thank you very much for any help
karinne
06-07-2006, 10:16 AM
I doubt that you wrote the php "without html elements"... you kinda need those to display your site.
The link is nice but since PHP is parsed by the server before getting to the machine, we can see the php so ... if you could put the code in here that'd be great.
And BTW ... did you not notice the PHP sub-section in here?
lol..yes..I noticed it...but the last time I posted in that section it was moved....even though it had to do with php...sooooo...I never know when to post there and when not to....figured I'd err on the side of caution....apparently that's not such a good idea either....I've attached the script as a .txt document..
thank you...
karinne
06-07-2006, 10:31 AM
lol..yes..I noticed it...but the last time I posted in that section it was moved....even though it had to do with php...sooooo...I never know when to post there and when not to....figured I'd err on the side of caution....apparently that's not such a good idea either....I've attached the script as a .txt document..
:lol: I guess they'll move it if they see fit :P
transmothra
06-07-2006, 11:04 AM
huh? you mean like echo.name = $variable1? calling a specific echo/print statement to delineate it from other, similar statements?
nope, can't do that. you can comment, and you can use variable variables, but i have no idea what you're wanting to do it for.
I'll try to be more specific..lol
If you look at the script link in my original post and click one of the categories...you'll see that the output is way down on the page as well as being different aesthetically from the previous page. I'm unsure how to make sure that the script output has the correct "look"
I fixed my issue..thank you for the assistance....:)
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.