I like simple and minimal. One suggesting that I would like to make - you can take it or leave it - maybe change the capitalization of your php category to PHP?
I think what you need is mysqli_stmt_fetch, and you should also take a look at mysqli_prepare. Those two resources should help steer you into the right direction.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.