[PHPLIB] $sess->url and $sess->add_query() From: Joel (huenjoe <email protected>)
Date: 11/28/99

Dear all,

    I have found a strange problem about the $sess->url(). My code like
this,
    <a
href="<?$sess->purl(/test/test.php3).$sess->add_query(array("id"=>"10"))?>">

    TEST URL</a>
    When the current url is clear (ie, no parameter passed with get
method, eg. /index.php3), there is no problem at all. However, when the
current url like this, /details.php3?page=1, then all url in this page
will not get the "?". For example, next page hyper link will appear as
something like this, /details.php3&page=2. It therefore gives me an
error: file not found. Please help. Thanks in advance

Yours regard,
Joel

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.