1
Tutorials / Re: [TUT]Making a "boolean" (tinyint 1) field searchable
« on: April 29, 2006, 12:06:29 AM »
Dude.... V@no answered your question in every post he has posted....and you still didn't get it?
FIND:
INSERT BELOW IT:
I hope you were just testing everyone on how smart they are
FIND:
Code: [Select]
include(ROOT_PATH."global.php");
INSERT BELOW IT:
Code: [Select]
// NOCTURNAS
if (isset($HTTP_POST_VARS['search_nocturnal_images']) || isset($HTTP_GET_VARS['search_nocturnal_images'])) {
$search_nocturnal_images = 1;
$show_result = 1;
}
else {
$search_nocturnal_images = 0;
}
//FIN NOCTURNAS
I hope you were just testing everyone on how smart they are