You are executing, $dbobj the database object. You should execute the statement
handle.
The code should be:
$query = "SELECT UserID,Name FROM test";
$sdb = $dbobj->prepare($query);
$sdb->execute();
Placed At :
"Clinton Hesse" <[EMAIL PROTECTED
The $dbh connect code should be like this:
$dbh=DBI->connect("DBI:mysql:datrtabase=radio';host=localhost",root,"password",
{RaiseError=>1});
If there is an error, you can catch it using, die statement.
Placed At :
John Mayson <[EMAIL PROTECTED]
Just a thought.
It is a well known fact that MySQL is being used as the backend software for
Yahoo Finance.
However, the response as mentioned in this mail is also typical from a customer
looking at commercial application development.
How can the larger business community perception be changed w
MySQL with MyISAM Tables does not provide the facility of Commit or Rollback.
You need to compile MySQL with InnoDB tables to have above mentioned features.
Check out:
www.innodb.com
regards,
Durga Prasad
Placed At :
"sreedhar" <[EMAIL PROTEC
Placed At : BOM
Durga Prasad@SATYAM
10/23/2001 01:06 PM
Hi all,
Is it possible to have an external file as an attachment in MySQL?
An example would be a .gif, .doc, .ppt, .ram etc.
If there is no way directly have MySQL table to store an attachmen
Placed At : BOM
Durga Prasad@SATYAM
09/20/2001 09:52 AM
Hi,
iam trying to use mysql as the back end of a web enabled application.
My tables have fields numbering more than 50.
Iam a newbie and so i would like to know if there are any limits on th
Placed At : BOM
Durga Prasad@SATYAM
09/12/2001 05:10 PM
Hi all,
I have just installed
MySQL 3.23.42-1.
using MySQL3.23.42-1.i386.rpm.
OS: RH Linux 7.1
glibc:2.2.2.10
gcc: 2.96-81
perl: 5.6.0-12
When i try to install MySQL-bench-3.23.42-1.i386.rpm
Placed At : BOM
Durga Prasad@SATYAM
09/12/2001 03:25 PM
Hi all,
I have just installed
MySQL 3.23.42-1.
using MySQL3.23.42-1.i386.rpm.
OS: RH Linux 7.1
glibc:2.2.2.10
gcc: 2.96-81
perl: 5.6.0-12
When i try to install MySQL-bench-3.23.42-1.i386.rpm