Cep Posted February 1, 2008 Share Posted February 1, 2008 Hello, Just a quick question really as the PHP docs aren't specifically clear on this issue. If I create a prepared statement in mysqli to select all records in a table such as, SELECT * FROM table WHERE id = ?, when I return the values using mysqli_bind_result (OOP style) are the fields returned in the order they are found in the table? For example my table fields from left to right are "id", "name", "date" does this mean my mysqli_bind_result should be mysqli_bind_result($id, $name, $date); Quote Link to comment https://forums.phpfreaks.com/topic/88870-bind_result-prepared-statements/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.