Whoops (was:RE: [PHP] multiple replaces...)

From: Date: Sat, 12 Jan 2002 12:03:49 +0000
Subject: Whoops (was:RE: [PHP] multiple replaces...)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80284@lists.php.net to get a copy of this message
Whoops, forgot to change the first number in every one of those. The first numbers in the brackets should increase after every two lines... The correct one: $replace[1][1] = "!one!"; //marker $replace[1][2] = "hehee"; //replace with $replace[2][1] = "test"; //marker $replace[2][2] = "foobar"; //replace with $replace[3][1] = "repl"; //marker $replace[3][2] = "humpty-dumpty"; //replace with $replace[4][1] = "blah"; //marker $replace[4][2] = "boo"; //replace with Now, when I would do a loop thingie that goes through all those, then it would be a pretty nice and compact solution... What about speed issues regarding this solution? Yours, Lauri -- Tharapita Creations [dynamic web applications] lauri.vain@tharapita.com Mobile: +372 53 410 610

« previous php.general (#80284) next »