View Single Post
Old 10-22-2012, 12:12 AM   #7
eswari
Registered User
 
Join Date: Aug 2012
Posts: 33
Echo and Print are used for the same functionality printing of data.But there is echo is not a function we cannot pass arguments ,where as print is a function we can pass arguments
die() function prints a message and exits the current script.
ex:
$c=mysql_connect('host','username','pass') or die();
if the mysql connection is unsuccessful then this will die
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
eswari is offline   Reply With Quote