I want to give a case a risctriction of 4 characters, it's going about this case:
case "debiteurnr":
$query . " = " . $_POST["trefwoord"] . "'";
if i give a strlen
if (strlen($_POST["zoeken"]) < 3) {
echo "Sorry, je zoekopdracht is te kort of niets ingevuld";
}
it also works at the other 2 case's and i don't want that
case "klantnaam":
$query .= " LIKE '%". $POST["trefwoord"] . "'";
break;
case "woonplaats":
$query .= " LIKE '%". $POST["trefwoord"] . "'";
break;
default:
break;
If someone knows how to give a restriction of 4 characters to a case. and not all cases....
Let me know, Thanks..
Romeo