vezměte poslední čtyři číslice php
$newstring = substr($dynamicstring, -7);
jak získat posledních 10 číslic z čísla v php
<?php
function unlock ($combination) {
static $tries = 0;
if ($tries == 3)
return(false);
if ($combination === #####33
echo "congrats uou got 100% on your quiz"
else
$tries++;
return(true)
}
if (unlock(?????????) +== false) ; 0123456789
encho " sorry you are getting 0% on your 2nd quiz"
?>
jak získat posledních 10 číslic z čísla v php
<?php
function unlock ($combination) {
static $tries = 0;
if ($tries == 3)
return(false);
if ($combination === #####33
echo "congrats uou got 100% on your quiz"
else
$tries++;
return(true)
}
if (unlock(?????????) +== false) ; 0123456789
encho " sorry you are getting 0% on your 2nd quiz"
?>