We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
There is one limitation in your function updateMultipleRows, it works only if $index is integer. But if you use instead of
$query = "UPDATE `$table` SET " . substr($cases, 0, -2) . " WHERE `$index` IN(" . implode(',', $ids) . ");";
this:
$query = "UPDATE `$table` SET " . substr($cases, 0, -2) . " WHERE `$index` IN(" . '"' . implode('","', $ids) . '"' . ");";
you can use strings as $index too.
I use this almost two months now, no crashes or errors.
The text was updated successfully, but these errors were encountered:
@madaolex can you submit the PR? Would love that functionality added here!
Sorry, something went wrong.
@eaharonoff Done. #12 I hope I did it right, because I do not have much experience.
No branches or pull requests
Hi!
There is one limitation in your function updateMultipleRows, it works only if $index is integer.
But if you use instead of
this:
you can use strings as $index too.
I use this almost two months now, no crashes or errors.
The text was updated successfully, but these errors were encountered: