
Register and join over 40,000 other developers!
Recent Topics
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
-
Job Gig PHP Form Needed
PJohnson - Apr 18 2019 03:55 AM
-
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
-
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

3 replies to this topic
#1
Posted 09 April 2011 - 09:44 AM
some said to me that i should use "use DBI;" instead of "use DBD::mysql;", and that DBD::mysql is kinda old stuff. but i don't really know the details why

#2
Posted 12 April 2011 - 06:26 PM
I did a bit of searching and apparently DBI is a unifying superset of the various DBD modules that existed before, with some extra fun stuff.
sudo rm -rf / && echo $'Sanitize your inputs!'
#3
Posted 29 August 2011 - 10:50 PM
Actually, to provide a bit of clarification, DBI is Perl's interface to the database world. while the "DBD::?????" (replace ???? with your database of choice that exists) are the drivers for DBI, instructing it how to interact with the database. DBD::mysql is actually supplied by default with Perl, so there should be nothing to do but provide the "use DBI;" statement at the beginning of your code and then use it accordingly.
Regards,
Jeff
Regards,
Jeff
#4
Posted 30 August 2011 - 09:07 AM
Hi, Jeff! Welcome to CodeCall. Please don't revive threads more than a few weeks old, as the people involved probably moved on quite a while ago, and it pushes newer threads with active users down in the new thread list. This thread is four months old. Don't worry, it's a very common newbie mistake. I did the same thing when I first joined CodeCall. 
Happy coding!
-dargueta
Mod note: Thread closed.

Happy coding!
-dargueta
Mod note: Thread closed.
sudo rm -rf / && echo $'Sanitize your inputs!'
Also tagged with one or more of these keywords: mysql
General Forums →
General Programming →
PHP code having some issueStarted by dennypaul, 09 Mar 2019 ![]() |
|
![]() |
||
Language Forums →
Databases →
Include a specific error, task, problem, or question in your titleStarted by Kriss, 27 Sep 2017 ![]() |
|
![]() |
||
Language Forums →
PHP →
Php Sql Injection Secure TagsStarted by uniqueideaman, 09 Apr 2017 ![]() |
|
![]() |
||
Language Forums →
PHP →
What Is Wrong With Number Of Rows Count Function ?Started by uniqueideaman, 09 Apr 2017 ![]() |
|
![]() |
||
Language Forums →
PHP →
How To Force MySql With Php To Show Final Row Only?Started by uniqueideaman, 09 Apr 2017 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download