But there are some differences..
print is a kind of function and return something, not echo..
if you do for example
<?
...
$result = mysql_query($query,$db) or echo "error";
?>
you will get an error, but writing
<?
$result = mysql_query($query,$db) or print ("error");
?>
is correct...
Wacky