Hi to all,
when I press php plugin list button I just want a confirmation box that will be showed only if a field in my database is different from NULL. I just added in javascript box this code
confirm("ticket already exist, do you wish to continue?");
and this work, if result is true will execute my php code and if is false nothing happens. problem is that I want box will showed only if tickets field is different form NULL.. but I think that is impossible to insert in javascript box a mysql query.. please I need some tips..
when I press php plugin list button I just want a confirmation box that will be showed only if a field in my database is different from NULL. I just added in javascript box this code
confirm("ticket already exist, do you wish to continue?");
and this work, if result is true will execute my php code and if is false nothing happens. problem is that I want box will showed only if tickets field is different form NULL.. but I think that is impossible to insert in javascript box a mysql query.. please I need some tips..