Code: Select all
<?php
if(mysql_query($resultSQL))
return true;
return false;
?>Code: Select all
<?php
if(mysql_query($resultSQL))
return true;
else
return false;
?>These are same considering the job, but different considering the concept(i mean machine language).
Which one is the best? There should be a difference between them.
What is your opinion?
Thnx, Good Luck.
P.S : I always prefer the first (with an inborn instict...)
P.S : (I edited the post to add a poll)