Word seperation with preg_match

From: Date: Tue, 15 Aug 2000 14:22:40 +0000
Subject: Word seperation with preg_match
Groups: php.general 
Request: Send a blank email to php-general+get-11806@lists.php.net to get a copy of this message
Anybody see anything wrong with the following ? preg_match("/\w+/",$HTTP_POST_VARS["keywords"],$words); For some mysterious reason, this allways returns ONLY the first word in the "keywords", regardless of how many were input ... since /g does not work, I don't know what else to do ! Can't make it much easier than this :) Anybody have any ideas ? Thanks, Jean-Francois Doyon Internet Service Development and Systems Support GeoAccess Division Natural Resources Canada (613) 992-4902

« previous php.general (#11806) next »