Re: [PHP] mysqli prepapred SELECT statement

2004-07-16 Thread Curt Zirzow
* Thus wrote Support: > Anyone working with php5/mysql 4.1 yet with the new ext/mysqli? > > This has me stumped: > > $stmt = $mysqli->prepare('SELECT * FROM users WHERE userid=?'); > > $stmt->bind_param('i', $userID); > > $stmt->execute(); > > ...now how to get the results??? I can't use bind_

[PHP] mysqli prepapred SELECT statement

2004-07-16 Thread Support
Anyone working with php5/mysql 4.1 yet with the new ext/mysqli? This has me stumped: $stmt = $mysqli->prepare('SELECT * FROM users WHERE userid=?'); $stmt->bind_param('i', $userID); $stmt->execute(); ...now how to get the results??? I can't use bind_result() since I have no clue how many colum