please send to the list, not to me directly.
Zhou Xiang wrote on 04/02/2009 02:47 PM:
> Hi Peter,
>
> This is my PHP code:
> -------------------------------------------
> $word = $_GET['text'];
> $metafield = $_GET['field'];
> $stem = $swish->stem($word);
> $index_names = $swish->index_names();
> $search = $swish->new_search_object($word);
> $search->set_query('$metafield = $word');
do you need to double quote for var interpolation?
> $search->set_query("$metafield = $word");
--
Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Apr 2 16:41:42 2009