Aaron Huber writes:
> When I try to form a PQN query by concatenating two
string
> variables, it won' t go through. When I hard code
this query, it
> works fine. How can I go about this?
>
> Thank You.
> Aaron S. Huber
> Coral Springs, FL
>
> $bib1 = " attr 1=4";
>
> $search = "clinton";
>
> $query = $bib1 . " " . $search;
>
> $rs = $conn->search('$query');
What does "won't go through" mean?
Adding a simple
print "'$query'n";
before the call to search() shows that the query string is:
' attr 1=4 clinton'
which looks fine to me.
I suspect sunspots.
_/|_
____________________________________________________________
_______
/o ) / Mike Taylor <mike indexdata.com> http://www.miketaylor.or
g.uk
)_v__/ "I'm originally from Iowa. It took a long
time for me to realize
we were free to go" -- Jake Johannsen.
_______________________________________________
Net-z3950 mailing list
Net-z3950 lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/n
et-z3950
|