This topic is locked
[SOLVED]

 Insert

7/28/2011 6:26:50 AM
PHPRunner General questions
T
txqr author

How put insert query in custom field?

C
cgphp 7/28/2011

Please, explain what you want to do exactly.

T
txqr author 7/28/2011

When I click the custom field it to do an insert into a table



Please, explain what you want to do exactly.

C
cgphp 7/28/2011

In the custom field should be something similar:

$value = "<a href='#' class='insert_link' id='".$data['primary_id_field']."'>".$value."</a>";


On click, in the Javascript onLoad event, call an external php file (where the insert query is executed) using an ajax request.

T
txqr author 7/28/2011

Understood. Thank you.