Re: Dynamic function calls within the echo function, possible?
| From: | Justin Patrin | Date: | Tue, 20 Jul 2004 06:14:16 +0000 |
| Subject: | Re: Dynamic function calls within the echo function, possible? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191115@lists.php.net to get a copy of this message | ||
On Tue, 20 Jul 2004 01:13:38 +0000, Curt Zirzow
<php-general@zirzow.dyndns.org> wrote:
> * Thus wrote Justin Patrin:
> > Yo....:-/
> >
> > Hmmm, this must be PHP5 as in PHP4 parameters can't be by ref and have
> > a default value.
>
> yes, that is php5 specific.
>
> >
> > echo '<style>
> > .row1 {
> > background-color: #c0c0c0;
> > }
> > .row2 {
> > backgorund-color: #808080;
> > }
> > </style>
>
> I can't wait till
>
> tr:nth-child(odd) { background-color: #c0c0c0; }
> tr:nth-child(even) { background-color: #808080; }
>
> become standard :)
Don't we all wish.....you'd think it wouldn't be *that* hard...
>
>
> http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#nth-child-pseudo
>
> Curt
> --
> First, let me assure you that this is not one of those shady pyramid schemes
> you've been hearing about. No, sir. Our model is the trapezoid!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--