Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
What's wrong with this?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Hindi" data-source="post: 274334" data-attributes="member: 26187"><p>There's nothing wrong with this IMO? Never done PDO But I can understand since similar code to java (not literally but yeah ) </p><p>Nevertheless, You've just added the " echo 'Connected'; "</p><p>So it just echo's Connected stating that your database is connected.. </p><p>Add some more codes within 'try' block to see it executed ~_~</p></blockquote><p></p>
[QUOTE="Hindi, post: 274334, member: 26187"] There's nothing wrong with this IMO? Never done PDO But I can understand since similar code to java (not literally but yeah ) Nevertheless, You've just added the " echo 'Connected'; " So it just echo's Connected stating that your database is connected.. Add some more codes within 'try' block to see it executed ~_~ [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
What's wrong with this?
Top