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 columns `*' will retreive. I have been reading the docs now
for over two hours and need to get back to work :-)

$stmt->close();

Jim Grill

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to