On 02-Dec-2001 Paul Markov wrote:
> Hi,
> some users of my web are having problems with sorting a MySQL table
> because older
> versions of Netscape do not recognize a blank space and do not convert
> it into a %20.
>
> Here's my situation:
> $sort = "id DESC"
> if ($page_num != $total_num_page){print " <a
> ref=\"./propview.php?$guidestring&cur_page=$nextpage&sort=$sort\">Next
> Page</a>
>
> Netscape drops "DESC" because it can't convert the blank space into a
> %20. (this works fine with newer versions of Netscape. Internet
> Explorer does not have such a problem).
>
> Is there a workaround for this problem?
The '%20' is correct by current standards. For backwards compatibilty, you
can try a plus sign 'id+DESC' (be aware that this is now the "wrong" way to
do it).
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table query)
---------------------------------------------------------------------
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