I would liike to make a PHP script so that it detects to see if there is caps inside a variable... i don't know if i even done it right :blink:
example coding
<?php
$txt="Merry Christmas";
if ( !strtolower($txt) )
{
print"$txt is still in caps";
} else {
print"$txt was a success";
}
?>
Variable called "txt" with the "Merry Christmas" wha i want is... if it doesn't lower any letters that are in caps then tell me it's still in caps and also show me... but i don't know if this is working or not :huh:
Question
sinatosk
EDIT : it's ok i find a way now :p
I would liike to make a PHP script so that it detects to see if there is caps inside a variable... i don't know if i even done it right :blink:
example coding
<?php
$txt = "Merry Christmas";
if ( !strtolower($txt) )
{
print "$txt is still in caps";
} else {
print "$txt was a success";
}
?>
Variable called "txt" with the "Merry Christmas" wha i want is... if it doesn't lower any letters that are in caps then tell me it's still in caps and also show me... but i don't know if this is working or not :huh:
does anyone know how? :)
EDIT : it's ok i find a way now :p
Edited by zionathLink to comment
Share on other sites
0 answers to this question
Recommended Posts