Hi can anyone help me,
Currently I am connecting to my access database using a DSN connection, But this involves creating a DSN connection etc... I have been told to use a DSN-less
connection which does not require me to set up a dsn connection (admin tools->
odbc connection->etc.. ). Is this true. What is the code
at the moment it is:
function db_connect(){
$conn=odbc_connect('Database','','');
if (!$conn){
exit("Connection Failed: " . $conn);
}
return $conn;// Returns the opened connection
}
$conn = db_connect();
What would I have to change?
Thanks