Andrei,

Monday, January 28, 2002, 11:50:56 AM, you wrote:

AB> Is there a function for URL encoding a value ? 
AB> Here's what I mean :

AB> select x from y
AB> returns 'word1 word2 %word3'
AB> If I were to put this into a URL, some browsers will not handle the URL
AB> correctly, especially at the space character, also the same happens
AB> with some proxy servers (like squid at least 2.3)

AB> I would like to do the following : 

AB> select URL(x) from y
AB> and see the result : 'word1%20word2%20%27word3'

I suggest you to define your own function. Take a look at: 
http://www.mysql.com/doc/A/d/Adding_functions.html

Information about string functions may be useful for you: 
http://www.mysql.com/doc/S/t/String_functions.html




-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




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

Reply via email to