phpbar.de logo

Mailinglisten-Archive

Re: [php] Variablenwert aus Link generieren
Archiv Mailingliste php_(at)_infosoc.uni-koeln.de

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

Re: [php] Variablenwert aus Link generieren



On Tue, 08 Jun 1999 08:33:53 +0200, Kristian Köhntopp wrote:

>$query = sprintf("select ... from ... where plz like "%s%%",
>                     $plz);

Was ist der vorteil von sprintf()?

Warum nicht so?
$query = "select ... from ... where plz like '$plz%'";

ciao

amalesh
-- 
Keep Agent alive: http://www.living-source.com/agent/
LS at CCC-Camp  : http://www.living-source.com/ccc/
German Goatrance: http://www.goatrance.de
Contact         : ak_(at)_living-source.com ~ icq:963380

Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive