<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>
Erro Num Codigo
Started By LUCAS2004, 17/01/2005, 15:44
2 replies to this topic
#1
Posted 17/01/2005, 15:44
Qual erro:
<?php
//Foi dificil colorir isso hehe
$nome= "Lucas";
$n = "PHP";
echo "Olá, meu nome é $nome e estou aprendendo $n " ;
?>
//Foi dificil colorir isso hehe
$nome= "Lucas";
$n = "PHP";
echo "Olá, meu nome é $nome e estou aprendendo $n " ;
?>
#2
Posted 17/01/2005, 15:56
faltou fechar parenteses....
....
if((screen.width<="640") && (screen.height<="480")) {
....
....
if((screen.width<="640") && (screen.height<="480")) {
....
#3
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 " ;
?>
//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)