Skip to content

I am retrieving data from the database and want to periodically check to assign the user's role. How can I do that? #1129

Closed Answered by key2peace
Batuhan337tr asked this question in Q&A
Discussion options

You must be logged in to vote
  • $allControls can be replaced by $discord-getLoop()
  • $sorgu does not contain an array of results, you need to use to use either $sorgu->fetch_array() / $sorgu->fetch_assoc() / $sorgu->fetch_object() in the foreach

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Batuhan337tr
Comment options

Answer selected by Batuhan337tr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1128 on June 10, 2023 05:04.