Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
connection in pdo
reenadak
Feb 24th, 2018
98
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
<?php
try
{
$pdo
=
new
PDO
(
"mysql:host=localhost;dbname=db_name;"
,
"username"
,
"password"
)
;
}
catch
(
Exception
$e
)
{
echo
"Could not connect to PDO"
;
}
?>
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Free Crypto MethodGuide
C++ | 1 hour ago | 0.39 KB
Free Crypto MethodGuide
C++ | 1 hour ago | 0.39 KB
Free Crypto MethodGuide
C++ | 1 hour ago | 0.39 KB
INSTAT ASH METD
JavaScript | 1 hour ago | 0.07 KB
free money glitch
Julia | 1 hour ago | 0.39 KB
Free Crypto MethodGuide
C++ | 1 hour ago | 0.39 KB
Free Crypto MethodGuide
C++ | 1 hour ago | 0.38 KB
Crypto Exploit
Smarty | 1 hour ago | 0.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!