PHP/MS Access Help

From: Date: Thu, 25 May 2000 13:27:36 +0000
Subject: PHP/MS Access Help
Groups: php.db 
Request: Send a blank email to php-db+get-86@lists.php.net to get a copy of this message
This script creates an error. Fatal error: Call to unsupported or undefined function odbc_select_db(). Is the select_db not available? I'm using PHP3 and MS Access. I looked through PHP documentation and I can't find odbc_select_db. Here the rest of my code. <html> <body> <?php $db = odbc_connect("dive","",""); odbc_select_db("mydb",$db); $result = odbc_query("SELECT * FROM tblDiveData",$db); echo "<table border=1>\n"; echo "<tr><td>Dive Number</td>Dive<td></tr>\n"; while ($myrow = odbc_fetch_row($result)) { printf("<tr><td>%s %s</td><td>%s</td></tr>\n", $myrow[1], $myrow[2], $myrow[3]); } echo "</table>\n"; ?> </body> </html> If anyone can find a problem or fix please let me know. Tim ===== "Hokey religions and ancient weapons can never compare to a good blaster at your side, Kid." May all your bubbles be external. __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/

« previous php.db (#86) next »