|
| |||||||||
| Tags: database, dbx, dbx module, pecl, php, programming language |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| Explain me about dbx in PHP!!
Hi friends, I have started with the abstraction layers in PHP programming language. Since this is my first time to do it, I am not having enough knowledge about it. I want to know about the dbx that comes under the abstraction layers. So thought that you guys are clever enough to explain me about this.!! So please please explain me about dbx in PHP!! Help me as soon as possible.!! ![]() |
|
#2
| ||||
| ||||
| Re: Explain me about dbx in PHP!!
The dbx module is an abstraction layer database (db 'X', where 'X' is a supported database). The dbx functions allow you to access all databases supported by using a simple call. The dbx functions themselves do not interface directly to the databases, but rather with the module that is used to support the database. This extension has been moved to the PECL repository and is no longer bundled with PHP as of PHP 5.1.0. Hope that you got the concept of the dbx in PHP. |
|
#3
| ||||
| ||||
| Re: Explain me about dbx in PHP!!
To use a database with the dbx-module, the module must be linked or loaded into PHP, and how the database should be supported by the dbx module. Currently, the following databases are supported, but others should follow :
|
|
#4
| ||||
| ||||
| Re: Explain me about dbx in PHP!!
The dbx module is found in PHP's ext / dbx folder. The support-code is found in the same folder. To add support for module 'demo' the following steps must be taken :
|
|
#5
| ||||
| ||||
| Re: Explain me about dbx in PHP!!
You need to have these functions compiled into PHP (configure option - enable-dbx and all databases that you want to use. For example, if you want to access MySQL from dbx, you must also configure PHP with - with-mysql = [DIR]. The behavior of these functions is affected by settings in php.ini. By using the dbx.colnames_case string, the column name can be returned as "unchanged" or "capital" or "tiny". This directive can be reconfigured by an option dbx_query (). |
|
#6
| ||||
| ||||
| Re: Explain me about dbx in PHP!!
There are two types of resources used by the dbx module. The first is the object associated with connection to the database, the second is the result of a query. The following are the predefined constants of it :
__________________ "When they give you ruled paper, write the other way..." J.R.J. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Explain me about dbx in PHP!!" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Explain an MP3 Encoder | Juily | Windows Software | 4 | 09-09-2011 08:59 PM |
| SMS Gateway: Will you explain? | Zecho | Technology & Internet | 3 | 21-11-2009 01:20 PM |
| Explain STL | KAMAL60 | Software Development | 3 | 10-11-2009 05:35 PM |
| Explain : dsca.exe | Asaph | Operating Systems | 3 | 15-06-2009 10:44 PM |
| Please explain | acefcae | Motherboard Processor & RAM | 0 | 16-08-2007 03:17 AM |