ghe Posted November 8, 2007 Share Posted November 8, 2007 Good afternoon to all, I have another inquiry about PHP, I just want to ask how can i create TRIGGERS in PostgreSQL (PGSQL) via PHP? Hope to have some help from someon. Thank you in advance. Quote Link to comment https://forums.phpfreaks.com/topic/76490-solved-how-to-create-triggers-in-pgsql-via-php/ Share on other sites More sharing options...
trq Posted November 11, 2007 Share Posted November 11, 2007 Just write the query required to build the trigger to a string stored in a variable ($sql). Then use pg_query to execute it. Quote Link to comment https://forums.phpfreaks.com/topic/76490-solved-how-to-create-triggers-in-pgsql-via-php/#findComment-388943 Share on other sites More sharing options...
ghe Posted November 12, 2007 Author Share Posted November 12, 2007 Thank you very much for the help... Quote Link to comment https://forums.phpfreaks.com/topic/76490-solved-how-to-create-triggers-in-pgsql-via-php/#findComment-389476 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.