Re: Re: how would I do this?

From: Date: Mon, 27 Dec 2010 21:53:08 +0000
Subject: Re: Re: how would I do this?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-310254@lists.php.net to get a copy of this message
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.

« previous php.general (#310254) next »