-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
insert Null and not empty #840
Comments
Sorry but this is not a problem for this class
…On Thu, Nov 7, 2019, 7:24 AM ernexus ***@***.***> wrote:
No there are no such possibility at the time. As a temporary workaround
you could use additional hidden input like this, get the job done:
And use js callback:
var drEvent = $('.dropify').dropify();
drEvent.on('dropify.afterClear', function(event, element){
$("#picture_removed").val("1");
});
And finally check in your php:
if($_POST['picture_removed'] == 1) {
unlink('file.jpg');
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#840?email_source=notifications&email_token=AEVXRRJNEVSTKEVS2G5XVYTQSQCGLA5CNFSM4HZKDBW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMHT5A#issuecomment-551057908>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVXRRI7ZVPGDP4V7RPWCH3QSQCGLANCNFSM4HZKDBWQ>
.
|
// Modified by Enrico Bisco |
solved |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
On a insert or update if the variable i am user for the value is empty is it possible to insert NULL instead?
many thanks
The text was updated successfully, but these errors were encountered: