[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] How to implement a GUID
From:       Mark Cave-Ayland <mark.cave-ayland () ilande ! co ! uk>
Date:       2007-07-24 22:39:05
Message-ID: 1185316745.32172.36.camel () mca-desktop
[Download RAW message or body]

On Tue, 2007-07-24 at 17:55 +0200, Milo van der Linden wrote:
> Hello!
> 
> Mark, for me, this is the WINNER SOLUTION!  This is the correct way to
> do it in my particular situation; respect!
> 
> 
> Only one more hurdle left: I am doing the insert from php with
> variables. what would be the best way to go; store this in a function
> whit the right variables in place?
> 
> Or is there a way to control the BEGIN; COMMIT; loop from within php?
> 
> I will look in the php and postGress wiki's and documentation. When I
> find the answer myself, I will post it.

Sure. You can execute BEGIN and COMMIT SQL commands in the same way you
would execute a SELECT or INSERT from PHP, i.e. passing a string into
pg_query() or using PDO.


Kind regards,

Mark.

-- 
ILande - Open Source Consultancy
http://www.ilande.co.uk


_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic