Skip to content
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

select max item why return string not integer? #1073

Closed
deawx opened this issue Jan 8, 2023 · 0 comments
Closed

select max item why return string not integer? #1073

deawx opened this issue Jan 8, 2023 · 0 comments

Comments

@deawx
Copy link

deawx commented Jan 8, 2023

$maxIndex = $db->max("webboard", "index", [ "id" => $id, ]);

when i use code $maxIndex +=1;
HAVE ERROR
Uncaught TypeError: Unsupported operand types: string

@deawx deawx closed this as completed Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant