Guest amanda Posted February 17, 2004 Report Share Posted February 17, 2004 oie, como eu passo esse codigo em asp para php?if "variavel" = ucase("variavel") or "variavel" = lcase("variavel") thenvariavel = "Teste" Quote Link to comment Share on other sites More sharing options...
0 M@luco Belez@ Posted February 17, 2004 Report Share Posted February 17, 2004 o q esse código faz em asp?assim fica mais fácil a gente te ajudar Quote Link to comment Share on other sites More sharing options...
0 Guest amanda Posted February 17, 2004 Report Share Posted February 17, 2004 se a variavel estiver toda em minuscula ele passa toda pra maiusculalcase("variavel")e se estiver toda em maiuscula ele passa toda pra minusculaucase("variavel") Quote Link to comment Share on other sites More sharing options...
0 John Doe Posted February 17, 2004 Report Share Posted February 17, 2004 Teste isso:<?$variavel = "ALGUMA VARIAVEL";if($variavel=strtoupper($variavel) || $variavel = strtolower($variavel)){$variavel = "alguma variavel";}Num é isso ? Abraços Quote Link to comment Share on other sites More sharing options...
0 Guest amanda Posted February 17, 2004 Report Share Posted February 17, 2004 isso mesmo...........bligadinha......bjao Quote Link to comment Share on other sites More sharing options...
Question
Guest amanda
oie, como eu passo esse codigo em asp para php?
if "variavel" = ucase("variavel") or "variavel" = lcase("variavel") then
variavel = "Teste"
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.