"Call to undefined function pg_query_params() ..."

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan Lange

    "Call to undefined function pg_query_params() ..."

    To start off, I'm running Apache 2.0.54, PostgreSQL 8.0.3 and PHP
    5.0.3 on Windows XP and yes, libpq.dll is my system32 directory.
    I'm trying to do some queries using pg_query_params (), but I keep
    getting a fatal error, which is in the subject. I'm not sure what's
    going on, though. The functions pg_connect() and plain, old pg_query()
    work fine, and the PHP Manual says pg_query_params () is indeed in PHP 5
    with no indication that it may even be experimental, but... no luck.
    Is the PHP manual wrong, or can someone shed a little more light on
    my situation?

    - R.Lange
  • Ryan Lange

    #2
    Re: "Call to undefined function pg_query_params () ..."

    Ryan Lange wrote:[color=blue]
    > Is the PHP manual wrong, or can someone shed a little more light on
    > my situation?[/color]

    Bah. I should've waited just 5 more minutes...


    http://www.issociate.d e/board/post/205424/Does_php/postgres_suppor t_placeholder's ?.html

    Turns out the PHP manual is wrong. Apparently pg_query_params () is
    not in any current release, though it *may* be in CVS. Poo...

    - R.Lange

    Comment

    Working...