Yeah sorry about that...here it is.
<?
connect to a DSN "test1"
$connect = odbc_connect("data99","","");
query the users table for name and surname
$query = "SELECT Pick_up_ad, Delivery_a FROM test1";
perform the query
$result = odbc_exec($connect, $query);
fetch the data from the database
while(odbc_fetch_row($result)){
$name = odbc_result($result, 1);
$surname = odbc_result($result, 2);
print("$Pich_up_ad $Delivery_a\n");
}
close the connection
odbc_close($connect);
?>
Do i need the ADOdb Database Abstraction Library for PHP ???
Funny that you be using that select statement because i am working on a project for a NYC messenger company.
Thanks
Dave