PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You're using the assignment operator. (=) You need to use the comparison operator. (==)
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
lafflin wrote:scott you seem to be everywhere lately, and very willing to help with very straightforward answers, us newbs appreciate that.
Glad to help, and compliments are always appreciated. Thanks!
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
lafflin wrote:wait, there is no !==, that would be != I think.
There is a !== and a !=
!= checks that they're note equal, regardless of type
!== checks that they're equal and that they're of the same type (string, integer, etc)
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
lafflin wrote:It's possible t be equal but of different data types? med int and tiny int or text..etc?
Yes, ==.
'5' == 5 (string and integer)
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.