function remove_accents(&$str)
{
return svq("select convert(TO_ASCII(convert('".pg_escape_string($str)."','UNICODE','LATIN 1'),'LATIN 1'),'LATIN 1','UNICODE');");
}
Subscribe to:
Post Comments (Atom)
this is the place i use for my notes. My interests are Linux system administration, php programming, postgresql server, emacs and lighttpd.
6 comments:
svq?
svq() is just a function i use to run queries in postgresQL
Say, the way is the goal...
Do you have electricity in Russia?
And how does postgresql compare to MySQL??
i currently do not live in Russia.
yes, they have electricity.
i dont understand your q about mysql.
maybe another day, then.
i suggest you check this link to find out about "postgresql compare to MySQL" - http://www.google.com/search?q=postgresql%20compare%20to%20MySQL
Post a Comment