[SOLVED] Button Value |
5/8/2013 3:23:33 AM |
PHPRunner General questions | |
G
GunnySJB author
It must be something simple but just can't get it <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=20962&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' /> |
|
C
|
cgphp 5/8/2013 |
Get the field value in the "Client before" tab of the button and send it to the "Server" with the params array: params['field_name'] = $("#id_of_the_field").val(); //replace id_of_the_field with the real id of the field
$rs = CustomQuery("SELECT * FROM table_name WHERE id =".$params['field_name']); //only an example. You can access the field value using $params['field_name'] |
G
|
GunnySJB author 5/8/2013 |
Hello Christian, |