Posted by Tim Van Wassenhove on 11/15/08 11:24
On 2005-08-19, bissatch@yahoo.co.uk <bissatch@yahoo.co.uk> wrote:
> My mistake, sorry. For some reason I had accidentally name the imgid
> field on imgblob as imglib. All is well now.
>
> Just one more question. The intended database where this concept will
> work is PostgreSQL as this is what I work with when Im at work. At home
> I practise on MySQL. I know the alternatives for stuff like mysql_query
> and the connection stuff. What is the PG alternative to
> mysql_real_escape_string()? Is it required? Can I simply use
> mysql_real_escape_string() with PG?
Have you even bothered to have a look at the manual?
http://www.php.net/pgsql (pgsql_escape_string)
Btw, why would you loose time with that if you can use prepared
statements/parameter binding?
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
[Back to original message]
|