// connect to a DSN with a user and password "marin"
$connect = odbc_connect("DSN", "UID", "PWD");
// query the users table for name and surname
$query = "SELECT First as First_Name, Last as Last_Name, Address, Position FROM employees WHERE Last='$name'";
// perform the query
$result = odbc_exec($connect, $query);