die() function used in php for prints a message and exits the current script.it same as exit() function.
example
?php
$con = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$con) {...
Written by bipin
on PHP Simple QA
5 days 4 hours ago