Raditha Dissanayake wrote: >> PHP has this too. Don't forget to look at PEAR >> http://pear.php.net/manual/en/package.database.db.intro-execute.php >> > I am not an expert on pear but my understanding is that this is > different from what you encounter in perl. It's the same. In PHP you can do it, just like in Perl: $sql = 'select * from client where clientid=? and status=?'; $data = array( 53, 4 ); $result = $db->query( $sql, $data ); See: http://pear.php.net/manual/en/package.database.db.intro-query.php Every PHP-developer should use the PEAR database functions. Edwin Martin