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. 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. 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... 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
Archived
This topic is now archived and is closed to further replies.