Re: PL/pgSQL and PHP 5

From: PostgreSQL Admin <postgres(at)productivitymedia(dot)com>
To: John DeSoi <desoi(at)pgedit(dot)com>
Cc: Lista PG-PHP <pgsql-php(at)postgresql(dot)org>, PostgreSQL SQL List <pgsql-sql(at)postgresql(dot)org>
Subject: Re: PL/pgSQL and PHP 5
Date: 2006-08-10 03:42:34
Message-ID: 44DAAB2A.7090904@productivitymedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php pgsql-sql

Thanks for the catch. I've tried:

$connection->execute("SELECT
insert_staff_b('$staff[insert_firstname]'::varchar)");
$connection->execute("SELECT
insert_staff_b('".$staff['insert_firstname']."'::varchar)");

None work... I'm scratching my head on this one.

Thanks,
J

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message PostgreSQL Admin 2006-08-10 03:52:35 Re: [SQL] PL/pgSQL and PHP 5
Previous Message Tom Lane 2006-08-10 03:40:57 Re: [SQL] PL/pgSQL and PHP 5

Browse pgsql-sql by date

  From Date Subject
Next Message PostgreSQL Admin 2006-08-10 03:52:35 Re: [SQL] PL/pgSQL and PHP 5
Previous Message Tom Lane 2006-08-10 03:40:57 Re: [SQL] PL/pgSQL and PHP 5