I do a check:
if( $nomedoaluno <> str_replace(" ","-",semacentos($arrayReturn['nomedoaluno'])) ){
exit();
and I mount the url www.foo.com/nome-do-aluno
I would like to do a check so that: "If 80% is correct" does not end the program.
Is it possible?
I thought about separating each word and checking:
$array=explode("-",$nomealuno);
But I do not know what it would look like in the code. Can anyone help me?
It looks like this:
$aluno1 = $nomedoaluno;
$aluno2 = str_replace(" ","-",semacentos($arrayReturn['nomedoaluno']));
if($porcentagem < 80){
exit();
}