This topic is locked

custom button

12/25/2009 3:10:47 AM
PHPRunner General questions
T
titanic author

I want to add a button such that when it is clicked , it will insert some data to another table...
like
it is carcars table's list page, "do this " button will be around and when you click on it, an insert operation will be done on carsmake table..
what should i do..? which events should i utilize..?

J
Jane 12/25/2009

Hi,
I recommend you to have a look at the following article:

http://www.xlinesoft.com/phprunner/docs/update_multiple_records.htm

T
titanic author 12/25/2009



Hi,
I recommend you to have a look at the following article:

http://www.xlinesoft.com/phprunner/docs/update_multiple_records.htm


but that button is an update button so user adds some code to "befor record deleted" event. Can i use same event for my case.. ?
case: button inserts some data to a table when clicked...

J
Jane 12/25/2009

yes.

T
titanic author 12/28/2009

but my button should appear on every item list ... so i will not check items (check box) ... op should be achieved by just clicking...

J
Jane 12/29/2009

Hi,
to create button for each line edit HTML code on theVisual Editor tab or create button for each record in the List page: After record processed event.

http://www.xlinesoft.com/phprunner/docs/after_record_processed.htm