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
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
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
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
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
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
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,
7 matches
Mail list logo