Re: [PHP] Tutorial needed

2003-01-29 Thread salamander
Hi Alberto, There are HOWTO's on this at www.iodbc.org Best regards, Andrew Hill On Wednesday, January 29, 2003, at 12:53 PM, Alberto Brea wrote: Does anybody know of an online tutorial explaining how to access ODBC databases with PHP? Thanks Alberto -- PHP General Mailing List

Re: [PHP] what is the best way to handle connectivity

2002-10-07 Thread salamander
Jeff, ODBC should work just fine - you can just link --with-iodbc as per the HOWTOs on www.iodbc.org. If you use a native driver than the Informix client needs to be installed on the same box. Best regards, Andrew Hill Director of Technology Evangelism - OpenLink Software Universal Data

Re: [PHP] Count number of rows in table.

2002-08-25 Thread salamander
or, you should be able to simply do this, without the cost of fetching the results: $result = mysql_query(SELECT count(*) FROM table WHERE); $num_rows = mysql_num_rows($result); echo $num_rows Rows\n; $sql = select count(*) from table_name WHERE .; $result = mysql_query($sql) or

Re: [PHP] Dynamically Downloading Data

2002-08-25 Thread salamander
Randy, Try using a View, or a Temp Table in your database. This keeps the data available in a specified form. Best regards, Andrew Hill OpenLink Software On Sunday, August 25, 2002, at 12:23 AM, Randy Johnson wrote: Hello, Is it possible to select data from a database and have it be

Re: [PHP] Count number of rows in table.

2002-08-25 Thread salamander
okay, so then a select * and then a num_rows ... On Sunday, August 25, 2002, at 10:11 AM, Jason Wong wrote: On Sunday 25 August 2002 22:07, salamander wrote: or, you should be able to simply do this, without the cost of fetching the results: $result = mysql_query(SELECT count(*) FROM table

Re: [PHP] Free 'search engine' code

2002-08-11 Thread salamander
Edgard, Check www.hotscripts.com for your needs - there is usually something there you can use or modify. Best regards, Andrew On Sunday, August 11, 2002, at 08:24 PM, Edgard Berendsen wrote: What sort of counter? Hidden? Text file or database based? Images or text on screen? Per

Re: [PHP] Connection to Access 2000 mdb file on another computer.

2002-08-09 Thread salamander
Jason, One option you have is to install OpenLink's Multi-Tier driver, ODBC Agent, which will allow you to piggyback on DSNs on other machines, e.g: webserver with PHP, client side MT driver DSN (let's call it local_dsn) with ODBC as ServerType, and IDS as Name db server with MS Access,