In PHP, should I use
or should I add a ' before and after the variable I'm comparing like this:
?
Code:
mysql_query("SELECT something FROM table WHERE something=$something")
Code:
mysql_query("SELECT something FROM table WHERE something='$something'")