This is a discussion on "how to echo 2 classes" within the PHP Forum section. This forum, and the thread "how to echo 2 classes are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
how to echo 2 classes
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
how to echo 2 classes
Hi Forumz
I have to values that I want to be applied on the same li link. I have
Heeeelp please. Regards Jon |
|
|
|
#2
|
|||
|
|||
|
Re: how to echo 2 classes
Your $sw variable should contain "now" only
Last edited by karinne; Aug 9th, 2007 at 13:51. Reason: Added the " quotes ;) |
|
#3
|
|||
|
|||
|
Re: how to echo 2 classes
But don't forget the closing double quote for the class attribute.
Try the following:
|
|
#4
|
|||
|
|||
|
Re: how to echo 2 classes
thanks I have closed the " after ?> so its like this. It works as I wanted. Thanks
and
Last edited by geyids; Aug 9th, 2007 at 13:50. |
![]() |
| Tags |
| class |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| echo proxy to csv | stiassny | JavaScript Forum | 1 | Apr 13th, 2008 16:51 |
| How do I echo <?php ..... | AdRock | PHP Forum | 12 | Sep 14th, 2007 13:20 |
| Echo and If | simonb | PHP Forum | 2 | Aug 27th, 2007 16:22 |
| Echo and Sessions | kool77 | PHP Forum | 6 | Jun 1st, 2007 22:32 |
| Echo vs Print | Sqrlgrl | PHP Forum | 3 | May 30th, 2005 22:31 |