The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Other
> Development Articles
|
Page 4 -
Accessing Databases with Class
Page 4 - Discuss Accessing Databases with Class in the Development Articles forum on Dev Shed. Accessing Databases with Class Development Articles forum discussing articles and tutorials located at http://www.devshed.com. See what our authors have created for your viewing pleasure.
|
|
 |
|
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

May 30th, 2001, 08:36 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: accessing oracle database?
May be you must not compile it.
Look for php_oracle.dll in php/extension dir.
If you find it, only uncomment
;extension=php_oracle.dll
in php.ini and restart apache.
Let me know what happens ;)
|

June 25th, 2001, 12:06 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Nice synopsis
This article was a decent short synopsis of PHP class syntax even for experienced OO architects unfamiliar with PHP
|

June 30th, 2001, 01:46 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
require php-mysql modules for Redhat Linux 6.2
I have Redhat linux 6.2 box (i386), on its able run .php3 files.
I hope, this php environment has come default with Linux installation.
Now I would write PHP scripts to connect the MySQL database.
So, what are php-MySQL modules, which version do I need to install on this Linux box?
Where do I get the compatable php-mysql modules?
Becuase, I have tried with
php-mysql-4.0.5-3.i386.rpm
It's giving following error:
only packages with major numbers <= 3 are supported by this version of RPM
error: php-mysql-4.0.5-3.i386.rpm cannot be installed
Please help me in this regard.
I would be thankfull for help.
-SubbaReddy
msubbareddy@mailcity.com
|

February 11th, 2002, 11:30 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Gestault Moment
I don't have a formal software engineering academic, however I've been programming professionally for several years- php for over 1.5. However, I've never really been able to realize the power for object oriented programming. Most of my applications were written solely by me, and as long as I organized my libraries I found my code to be pretty scalable and reusable. However, this article with the example of mounting directories finally hit home. This is a great article. Thank you!!
|

June 22nd, 2002, 10:54 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Thanks
TO the Author,
Thanks for taking the time to wirte this tutorial. It has helped me get over a serious hump...
|

April 18th, 2003, 04:13 AM
|
|
Junior Member
|
|
Join Date: Apr 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
mysql_fetch_array()
I used class DB_Sql on my localhost and it works fine.
When using it on a web server, I get
"
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /db_mysql.inc on line 66
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /db_mysql.inc on line 73
"
the call is
$query = "select ...";
$db->query($query);
if (!$db->next_record()) {
do {
..
} while ($db->next_record());
Any idea ?
Thanks
|

May 27th, 2003, 03:28 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Accessing Databases with Class
Accessing Databases with Class
June 14, 1999 - PHP offers a large number of native interfaces to database servers from different vendors. All of them are accessed in a similar, but subtly different way, which has its reason in the differences of the underlying C API and in the historic development of PHP's database support. In this article, you will learn how to create an easier interface to SQL databases by employing the class and object features of PHP.
Please discuss this article in this thread. You can read the article here .
|

May 28th, 2003, 09:02 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
If you would like to see an article covering a particular topic, please post your request here.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|