preg_match_all

From: Date: Tue, 04 Mar 2003 16:22:46 +0000
Subject: preg_match_all
Groups: php.db 
Request: Send a blank email to php-db+get-26087@lists.php.net to get a copy of this message
Hi All, Well i need a little help as allways. Lets say that i have this output: -------------------------------------- <br>field1: value1 <br>field2: value2 <br>somefield: somevalue -------------------------------------- I want the value in between <br> and this ": " and the value between ": " and \n So that i could do whis: print("$field1<br>"); print("$field2<br>"); print("$somefield"); Souch that this would give this output: value1 value2 Somevalue Thanks a lot........ Lars Rasmussen.

« previous php.db (#26087) next »