fetch_all or fetch_assoc MySQLi statement
Posted
by all-R
on Stack Overflow
See other posts from Stack Overflow
or by all-R
Published on 2010-04-12T17:15:29Z
Indexed on
2010/04/12
17:23 UTC
Read the original article
Hit count: 556
Hi, is it possible to use the fetch_all()
, fetch_assoc()
etc. from the the MySQLi_Result
class with a prepared statement from the MySQLi_STMT class?
I've done it using the query()
method in the Mysqli class (and by escaping trough mysqli_real_escape_string()
), but not using statements with binding parameters.
I'm considering using PDO
thanks!
© Stack Overflow or respective owner