Jump to content


Photo

Erro Num Codigo


  • Faça o login para participar
2 replies to this topic

#1 LUCAS2004

LUCAS2004

    Normal

  • Usuários
  • 86 posts
  • Sexo:Não informado

Posted 17/01/2005, 15:44

Qual erro:

<script language="JavaScript" type="text/javascript">
if((screen.width>="1024") && (screen.height>="768")) {
window.location="1024/index.php";
}
if((screen.width=="800") && (screen.height=="600")) {
window.location="800/index.php";
}
if((screen.width<="640" && (screen.height<="480")) {
window.location="640/index.php";
}
</script>

<?php
//Foi dificil colorir isso hehe
$nome= "Lucas";
$n = "PHP";

echo "Olá, meu nome é $nome e estou aprendendo $n " ;
?>

#2 Rerex

Rerex

    Turista

  • Usuários
  • 25 posts
  • Sexo:Não informado

Posted 17/01/2005, 15:56

faltou fechar parenteses....

....

if((screen.width<="640") && (screen.height<="480")) {

....

#3 LUCAS2004

LUCAS2004

    Normal

  • Usuários
  • 86 posts
  • Sexo:Não informado

Posted 17/01/2005, 21:52

=)
<?php
//Foi dificil colorir isso hehe
$nome= "Lucas";
$n = "PHP";

echo "Olá, meu nome é $nome e estou aprendendo $n " ;
?>




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq