Re: [PHP-DB] DBF + PHP

2007-07-18 Thread Chris
Luke wrote: Hi. I need open some dbase files. Function dbase_open work correctly only when I open data base from server eg. dbase_open('/tmp/test.dbf', 0). How Can I open this database from local host ? What errors are you getting? Check file permissions, maybe you can't read/write the file

Re: [PHP-DB] PHP + MySQL

2007-07-18 Thread Dimiter Ivanov
On 7/18/07, Dan Maret <[EMAIL PROTECTED]> wrote: I just can't figure it out and Google yielded no help. I have a table named 'settings' which contains two fields, 'item' and 'content'. What I would like to do is grab that data and use the 'item' field as the name, and use the respective 'content

[PHP-DB] PHP + MySQL

2007-07-18 Thread Dan Maret
I just can't figure it out and Google yielded no help. I have a table named 'settings' which contains two fields, 'item' and 'content'. What I would like to do is grab that data and use the 'item' field as the name, and use the respective 'content' as the value in an array. For Example: Array (

[PHP-DB] DBF + PHP

2007-07-18 Thread Luke
Hi. I need open some dbase files. Function dbase_open work correctly only when I open data base from server eg. dbase_open('/tmp/test.dbf', 0). How Can I open this database from local host ? dbase_open('c:\tmp\test.dbf', 0) - not working dbase_open('c:\\tmp\test.dbf', 0) - not working dbase_open('c