[Developers] wildcard search in PHP

Peter Boot peter.boot at gmail.com
Tue May 15 09:29:09 UTC 2007


I am trying to extend the example code albumlist.php to perform a
wildcard search. The query array, shown below,  that works in the
Query Editor does not work in PHP. The $response["qname"]["status"]
variable in metaweb.php is ./mql/status/error' .

$query = array("type" => "/music/artist",
"name" => null ,
"name~=" => "^" . $band . "*" );

Can some one please tell me what I am doing wrong ?

thanks

Peter



More information about the Developers mailing list