Add new page

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
quanghuyitalst
User
Posts: 19

Add new page

Post by quanghuyitalst »

I am trying to edit code in Add new page, example: newPage_php
but I can not find keyword to insert new record into database Mysql

Please help me, show me where line to execute insert new.
Thank you so much


mobhar
User
Posts: 11726

Post by mobhar »

Instead of modifying the generated script files, you should write your code using the related server event(s) that already provided by PHPMaker.

So, what exactly did you want to achieve, did you want to insert a new record into another table after inserting a new record in the current table? If so, then you should use "Row_Inserted" server event.

Please read "Server Events and Client Scripts" topic from PHPMaker Help menu for more info and example.


quanghuyitalst
User
Posts: 19

Post by quanghuyitalst »

I've already do success! thank you.


Post Reply