Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - metalman1884

Pages: [1]
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:
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  :wink:

Pages: [1]