[PHPLIB] Building a URL From: Jesse Swensen (swensenj <email protected>)
Date: 12/30/99

I am trying to build a URL on the fly. I found the session url and
add_query functions but these are base on $QUERY_STRING. They come close
but not quite what I want.

I would like something like add_query except I what to pass the URL and the
query. It would then detect if the URL already had a query. If it did not
it would add the requested query prefixed with "?". Else it would prefix it
with "&".

Is there a function that does this or should I just write my own?

-- 
Jesse Swensen
swensenj <email protected>

- 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.