Hello all,
Just want to ask you how could I disable case sensitivity in php.
I am comparing 2 strings (letters and numbers) to add to database (mysql) only non existing strings.
code:
if ($_GET['polozka'] !== $row3['polozka']){
$insertSQL = "INSERT INTO sklad (polozka, druh_tovaru, dodavatel, kusy) VALUES ('$_GET[polozka]', '$_GET[druh_tovaru]', '$_GET[dodavatel]', '$_GET[kusy]')";
$Result1 = mysql_query($in sertSQL, $SQL) or die(mysql_error ()); }
How could I make it to test if statement without case sensitivity?... .I am fresh beginner in php, so I am looking for help from more experienced people....Thank s in advance...
Just want to ask you how could I disable case sensitivity in php.
I am comparing 2 strings (letters and numbers) to add to database (mysql) only non existing strings.
code:
if ($_GET['polozka'] !== $row3['polozka']){
$insertSQL = "INSERT INTO sklad (polozka, druh_tovaru, dodavatel, kusy) VALUES ('$_GET[polozka]', '$_GET[druh_tovaru]', '$_GET[dodavatel]', '$_GET[kusy]')";
$Result1 = mysql_query($in sertSQL, $SQL) or die(mysql_error ()); }
How could I make it to test if statement without case sensitivity?... .I am fresh beginner in php, so I am looking for help from more experienced people....Thank s in advance...
Comment