Re: How do I change " ?

From: Date: Tue, 10 Dec 2002 05:55:44 +0000
Subject: Re: How do I change " ?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-23982@lists.php.net to get a copy of this message
On Tuesday 10 December 2002 12:56, Chris Payne wrote: > Hi there everyone, > > How do I strip " from a string? Actually, I need to change it to a legal > char so I can send it via the URL. > > $url4 = str_replace("/"", ".", $url4); > > Tried the above but there's something wrong? To make strings URL-safe, use urlencode() and friends. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* A full belly makes a dull brain. -- Ben Franklin [and the local candy machine man. Ed] */

« previous php.db (#23982) next »