I think it will work on both systems.
A web server and PHP Engine are independent.
What is important is that you have a working ODBC connection on the computer that runs the web server.
Here is an example:
<html>
<body><?php
$conn=odbc_connect('LOCALDBA','','');
if (!$conn)
{exit("Connection Failed: " . $conn);}
$sql="SELECT * FROM BKAPPO";
$rs=odbc_exec($conn,$sql);
if (!$rs)
{exit("Error in SQL");}
echo "<table><tr>";
echo "<th>PO_Number</th>";
echo "<th>Vendor</th></tr>";
while (odbc_fetch_row($rs))
{
$PO=odbc_result($rs,"BKAP_PO_NUM");
$VENDOR=odbc_result($rs,"BKAP_PO_VNDNME");
echo "<tr><td>$PO</td>";
echo "<td>$VENDOR</td></tr>";
}
odbc_close($conn);
echo "</table>";
?>
</body>
</html>
OS: Windows 2000 Profesional
Web Server: Apache 2.1
PHP: 4.1
http://www.w3schools.com/php/php_db_odbc.asp You need to create a ODBC called LOCALDBA or change the one on the script.
Regards,
Kelloggs