Manisha Kumari
6 years ago
0
PHP Variables Avoiding == Versus = Confusion Problem You don’t want to accidentally assign values when comparing a variable and a constant. Solution Use: if (12 == $dwarves) { ... } instead of: if ($dwarves == 12)...
Join Our Telegram Channel to Stay Updated
Socialize