02-03-2004
Looking for a good book to learn LINUX
I have just transferred from an mainframe DB2 area to an area that uses LINUX. Any suggestions for a good book to buy for learning LINUX?
10 More Discussions You Might Find Interesting
1. Programming
can any one help me and told me about a good books to learn
1- pro c/c++ under unix
2- programming network using c under unix
thnx in advance. (1 Reply)
Discussion started by: kazanoova2
1 Replies
2. UNIX for Dummies Questions & Answers
I looking to broaden my knowledge in Unix/Linux. I have taken some basic classes in the past and tinkered a little with operating system at home..
What i am looking for is if someone could suggest a good book or class or both to help out. Looking at getting a Unix or Linux Certification. I work... (7 Replies)
Discussion started by: harlemi
7 Replies
3. Shell Programming and Scripting
Hi,
Please suggest me any good book to learn pearl scripting.
Thanks in advance !!!!:) (5 Replies)
Discussion started by: vkvishwakarma6
5 Replies
4. UNIX for Dummies Questions & Answers
which is a gud book to learn advanced korn shell scripting?
i know the basic shell scripting (1 Reply)
Discussion started by: shishirkotkar
1 Replies
5. UNIX for Dummies Questions & Answers
What is the Best book to learn UNIX from the begining?
am really a beginner and no nothing about UNIX, so what are the track that i have to trace in order to be a professional in UNIX and scripting?
What are the best books to learn it and what are the certificates such as CCNA in networks... (5 Replies)
Discussion started by: eng.pirlo
5 Replies
6. Programming
I'd like to learn C but I wanted to ask if anyone knows of a good book to start with. I came across some folks who said the best one is 'The C programming language, second edition' but some reviews said that it's not for beginners. I am learning Java and UNIX on my Mac and am familiar with... (6 Replies)
Discussion started by: Straitsfan
6 Replies
7. UNIX for Dummies Questions & Answers
I'm looking for a book to learn Linux Kernel
Now I got a basic C and operating system concept
Thanks (1 Reply)
Discussion started by: Runicer
1 Replies
8. What is on Your Mind?
Hi guys, which book are you raccomand to start learn Perl from the ground ? (1 Reply)
Discussion started by: solaris_user
1 Replies
9. Programming
Actually I know bit of C++ and Java & C# for a extend.
But when I have tried to go through some online exams of C++, I have found out that there's a lot for me to learn in C++ also. And as I Believe, most of the things are the once that C++, got from C. Actually I'm good with those OOP concepts... (3 Replies)
Discussion started by: Nohim Ys
3 Replies
10. Shell Programming and Scripting
I'm going to be starting a job in a month or so that I need to brush up on my Unix shell scripting skills. About 15 years ago, I took a college class for Unix shell scripting. I would like to find a good college book again, rather than just going to Amazon and just buying anything.
This is... (2 Replies)
Discussion started by: dorlow
2 Replies
LEARN ABOUT PHP
pdostatement.errorinfo
PDOSTATEMENT.ERRORINFO(3) 1 PDOSTATEMENT.ERRORINFO(3)
PDOStatement::errorInfo - Fetch extended error information associated with the last operation on the statement handle
SYNOPSIS
public array PDOStatement::errorInfo (void )
DESCRIPTION
RETURN VALUES
PDOStatement.errorInfo(3) returns an array of error information about the last operation performed by this statement handle. The array con-
sists of the following fields:
+--------+---------------------------------------------------+
|Element | |
| | |
| | Information |
| | |
+--------+---------------------------------------------------+
| 0 | |
| | |
| | SQLSTATE error code (a five characters alphanu- |
| | meric identifier defined in the ANSI SQL stan- |
| | dard). |
| | |
| 1 | |
| | |
| | Driver specific error code. |
| | |
| 2 | |
| | |
| | Driver specific error message. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
Displaying errorInfo() fields for a PDO_ODBC connection to a DB2 database
<?php
/* Provoke an error -- the BONES table does not exist */
$sth = $dbh->prepare('SELECT skull FROM bones');
$sth->execute();
echo "
PDOStatement::errorInfo():
";
$arr = $sth->errorInfo();
print_r($arr);
?>
The above example will output:
PDOStatement::errorInfo():
Array
(
[0] => 42S02
[1] => -204
[2] => [IBM][CLI Driver][DB2/LINUX] SQL0204N "DANIELS.BONES" is an undefined name. SQLSTATE=42704
)
SEE ALSO
PDO.errorCode(3), PDO.errorInfo(3), PDOStatement.errorCode(3).
PHP Documentation Group PDOSTATEMENT.ERRORINFO(3)