PHP Getting Variables from String

From: Date: Tue, 30 Oct 2001 04:41:51 +0000
Subject: PHP Getting Variables from String
Groups: php.db 
Request: Send a blank email to php-db+get-13834@lists.php.net to get a copy of this message
I need help. Say I have a string coming from a page via a form .... $search_var. I need it split up into multiple variables... e.g.... $string="These are some words" I want it to turn into $var1=These, $var2=are, $var3=some, $var4=some I'm doing this for a search script. Want it to take the input, and search a mysql db for each of the keywords... Please e-mail a response to tone405@hotmail.com

« previous php.db (#13834) next »