Thread
:
Cheat Windows
View Single Post
#
41
12-19-2012, 01:00 AM
cbk1994
the fake one
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
Comparing arrays doesn't always work well. You can coerce them to strings for the comparison like so:
PHP Code:
if ((@
array1
) == (@
array2
)) {
// this looks ugly, there is
// probably a better way to format this
__________________
cbk1994
View Public Profile
View GraalOnline Profile
Visit cbk1994's homepage!
Find all posts by cbk1994