what is mixed type variable

From: Date: Tue, 12 Jun 2007 13:02:14 +0000
Subject: what is mixed type variable
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-35668@lists.php.net to get a copy of this message
dear sir, i want to write my own function in which i want to use mysqli_stmt_bind_param(object $stmt, string $paramtype, mixed $param ); 1. how to define a function with "mixed parameter"? 2. how to call that function with mixed argument? for ex. function Stmt(object $link, string $query, string $paramtype, mixed $param){
       $stmt = mysqli_stmt_init($link);
       mysqli_stmt_prepare($stmt, $query);
       mysqli_stmt_bind_param($stmt,$paramtype, $param );
       mysqli_stmt_execute($stmt);
} i have $link, $query, $paramtype. i have $name, $address, $city, $pincode etc. for "mixed $param". how to call this function? thanks and regards, Simon Moses. -- ************************** Visit My Personal Website http://www.ksmoses.com updated: 06 Jun 2007. Simon Moses **************************

« previous php.mirrors (#35668) next »