Re: Inserting variables (Revised)

From: Date: Tue, 09 Oct 2001 14:49:39 +0000
Subject: Re: Inserting variables (Revised)
Groups: php.general 
Request: Send a blank email to php-general+get-70496@lists.php.net to get a copy of this message
> and handle it: > > $querry = ereg_replace( "replacer_1", $q1, $querry ); > $querry = ereg_replace( "replacer_2", $q2, $querry ); > $result = MYSQL_QUERY($query); Instead of ereg_replace You should even use str_replace() with the same syntaxes (cause it works faster and You do not need ereg_replace() ). K'H'N

« previous php.general (#70496) next »