Tanks so far, but if I want don't want to display the 1st and 4th line.
----- Original Message ----- From: "Lisi" <[EMAIL PROTECTED]> To: "#Linux" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, April 14, 2002 10:55 PM Subject: Re: [PHP-DB] Extracting the essence! > > >Try something like the following to extract the contents of the array by > >looping through it: > > >$test= preg_replace ($search, $replace, $dokument); > > while (list ($key, $val) = each($test)) { > echo $key = $val; > } > > HTH > > -Lisi > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php