View Single Post
  #3 (permalink)  
Old 10th April 2009, 14:43
katran katran is offline
D4PHP Newbie
 
Join Date: Apr 2009
Posts: 5
katran is on a distinguished road
Default

Thank you for your answer.
I have found the example 2 days ago and it is working.

But .... I want the DATABASE/TABLE components to connect to the database.

Do you think I can write something like :

$connstr = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source =" . realpath("Projects.mdb") ."";
Table1->Open($connstr)
or Table1->Connection($connstr)
or Table1->Database($connstr)

What I want at the end, is to use the grid. But the Grid has to be connected to an DataSource, and the DataSource to an Table or Query component.
So finally I need to work with the Table component.
How to connect the table component to an Ms Acces database ?
Sorry ... I am completely new in PHP.
Reply With Quote
Sponsored Links