Remove quotes from form field

From: Date: Mon, 05 Jan 2004 20:13:27 +0000
Subject: Remove quotes from form field
Groups: php.general 
Request: Send a blank email to php-general+get-173776@lists.php.net to get a copy of this message
I'm having trouble returning the value less the quatation marks from the following: $words=explode(" ", strtolower($keywords)); I'm having the words from the form field put into an array. Problem is if the field contains something like trackworker AND "New York" It seperates the words into the array as follows: Array ( [0] => trackworker [1] => "new [2] => york" ) Therefore not finding the words "new york" because they don't exist like that but rather without the quotaions. Question is how do I remove the quatation marks so it returns? Array ( [0] => trackworker [1] => new [2] => york ) Thanks

« previous php.general (#173776) next »