[phplib] $sess->add_query From: Kartic Krishnamurthy (kaygee <email protected>)
Date: 07/15/00

Hello List,

I have a question about this $sess->add_query, url family of methods.

I am using it as follows:
$sess->url('help.php3').$sess->add_query(array('topic'=>$topic, 'field'=>$field));

This prints out:
help.php3&topic=1&field=b

why is it now printing help.php3?topic=1&field=b?

I then tried,
$sess->url('help.ph3'.$sess->add_query(array('topic'=>$topic, 'field'=>$field)));

This also prints the same thing!

I want it to have a ? before topic. Also, how does it work when I use GET vs Cookie.

I use phplib 7.2c and PHP3. It would be good if someone could kindly point out the right way.

Thanks you,
--Kartic

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>