Building a CMS with PHP part 24 - Die (or Exit) WebMaster Video Tutorials for WebMaster, Free ClipArt Gallery, Images Generators, Search Engines, Fonts, SEO Tools, Java, Validator...
Video Tutorials for WebMasters






Building a CMS with PHP part 24 - Die (or Exit)



Educational tutorials http://www.villageparksource.c...



Channel: Education
Uploaded: August 2, 2012 at 2:43 pm
Author: Village Park Source

Length: 04:42
Rating: 5.0
Views: 491

Tags:  

Video Url:


Embed Code:


Video Comments

dashbyictfd (November 30, 1999 at 12:00 am)
if(!$info_set){die("Unable to connect."); }
Khant Thu Linn (November 30, 1999 at 12:00 am)
Hi I do exactly same with you. But I got parse error. I would like to know why it happen.if(!$connection) { die("Unable to connect to page"); }
generalpcinformation (November 30, 1999 at 12:00 am)
Is this better or still not good: /*Connect to database */ $mysqli = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); /* check connection */ if ($mysqli -> connect_errno){ echo "Failed to connect to MYSQL database: (" . $mysqli -> connect_errno .")"; exit();}



SocialTwist Tell-a-Friend