Maurice, If I do $sort = "id+DESC" I get this error: Warning: Supplied argument is not a valid MySQL result resource
(not sure what you mean by "URI escape $sort"). Tell me more... Thanks! Paul. Maurice Aubrey wrote: > On Sat, Dec 01, 2001 at 06:52:13PM -0700, Rosyna wrote: > > htmlentities($sort); > > > > http://www.php.net/manual/en/function.htmlentities.php > > No. You need to URI escape $sort. In this case, it > just needs to be: > > $sort = "id+DESC" > > You should do the HTML encoding after that, but in this > case it isn't necessary. See RFC 2396. > > -- > Maurice Aubrey <[EMAIL PROTECTED]> > > GPG Key http://creation.com:81/~maurice/gpg.txt > Fingerprint 1568 87BB 8934 F186 D116 1BC2 8BD1 F4E9 1C19 E0DF --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php