Custom save php file

QuestionsCustom save php file
Miroslav S. asked 3 years ago


is possible to redirect all save actions to my own different file?

Thanks for reply.

1 Answers
Abu Ghufran answered 3 years ago

We don't have any working demo of it, but if you change editurl property, the ajax call of edit will post data to your url.
On your page, you can print_r() the $_GET, $_POST and perform your desired working.
$opt["editurl"] = "http://……………";

Alec Clarke replied 2 years ago

I have made the suggested change (code shown below), but my file is never called. Any suggestions? Thanks

$grid = new jqgrid($db_conf);
$opt = array();
$opt[“caption”] = “Sponsors”;
$opt[“toolbar”] = “top”;
$opt[“height”] = “”;
$opt[“autowidth”] = true; // expand grid to screen width
$opt[“editurl”] = “save_sponsor.php”;

Your Answer

19 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!