View Single Post
Old 10-02-2006, 05:07 AM   #4 (permalink)
Litewebsite
Member
 
Join Date: 08-02-06
Location: Sweden
Posts: 30
iTrader: 0 / 0%
Latest Blog:
None

Litewebsite is liked by many
Send a message via Yahoo to Litewebsite
You could also do type casting for your variables.

PHP Code:
$x 1;
$y '1';
$y = (int)$y// type casting 
Now both variables are integers and will match ===.
Litewebsite is offline   Reply With Quote