Hi I wanted to be able to change the radio buttons default. I mean, the two radio buttons the user can check to search ALL words or ANY words. I want the ALL words button to be checked by default, not the ANY button. I thought I had found the script that controls this, and changed it, but it didnt seem to work.
I reversed the $DefaultToAnd == 0. then changed $and = 0 else $and = 1
Can you guys point me to the tutorial that shows how to do this? or tell me how. Thanks!
PHP Code:
// 1 if we are searching for ALL terms
// 0 if we are searching for ANY terms (default)
if (isset($_GET['zoom_and']))
$and = intval($_GET['zoom_and']);
elseif (isset($DefaultToAnd) && $DefaultToAnd == 1)
$and = 1;
else
$and = 0;
Can you guys point me to the tutorial that shows how to do this? or tell me how. Thanks!
Comment