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); Link to comment https://forums.phpfreaks.com/topic/88870-bind_result-prepared-statements/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.