$user = "joecool@example.com"; $hash = ezmlm_hash ($user); $query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user); $db - query($query); / / using PHPLIB db interface
?php $user = "kris@koehntopp.de"; $hash = ezmlm_hash($user); $query = sprintf("INSERT INTO sample VALUES (%s, '%s')", $hash, $user); $db - query($query); / / utilisation de l 'interface PHPLIB?