Forum: General
08-14-2010, 05:40 PM
|
|
Replies: 2
Views: 622
|
Forum: General
08-14-2010, 04:54 PM
|
|
Replies: 2
Views: 622
@ in front of mysql functions
I've always wondered why some people put a "@" in front of mysql functions, like:
<?php
$query = @mysql_query("some query");
?>
|
Forum: General
08-14-2010, 03:58 PM
|
|
Replies: 3
Views: 512
|
Forum: General
08-11-2010, 03:42 PM
|
|
Replies: 3
Views: 512
Don't know what this does
I was following a tutorial I found about some database class and it uses the following code:
if($i%2 != 0){
/**/
}
My question is: what does the %(int) do? Divide the $i var?
|