Re: Re: how would I do this?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, December 27, 2010 04:47:34 pm Michelle Konzack wrote:
> Hello David McGlone,
> 
> Am 2010-12-27 16:13:50, hacktest Du folgendes herunter:
> > foreach ($services as $service){
> > 
> > echo "<ul><li>&raquo; <a
> > href=index.php?page=$service>$service</a></li></ul>"; }
> > 
> > Could anyone give me a hand? Obviously I don't understand arrays very
> > well :-/
> 
> Maybe:
> 
> echo "<ul><li>&raquo; <a href=index.php?page=$service><?php
> str_replace("_", " ", $service); =?></a></li></ul>";

Hehehehe :) I'm gonna try this too. Earlier I was thinking of str_replace, but 
couldn't figure out how I would incorporate it.

I love PHP!

-- 
Blessings
David M.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux