Fatal error: Call to undefined method mysqli_stmt::fetch_array() [duplicate]
Solution 1:
Using prepared statements there is no fetch_array()
. Use mysqli_stmt::fetch()
instead or to fetch multiple records use mysqli_stmt::fetchAll()
Check the manual: mysqli_stmt::fetch() or mysqli_stmt::fetchAll()