PHP interesse |
|
<?if ($i == $monster_location){
if ($texture->save == 0 || !$texture->save){
if ($monster_location == $player->position){
?>
<script language="javascript">
monster = window.open('monster.php?monster='+monster,'monster_popup','width=520,height=250,scrollbars=no,toolbar=no,location=no');
</script>
Attack
<?
}else{
echo "Monster";
}
}
}?>
<?if ($i == $monster_location){ if ($texture->save == 0 || !$texture->save){ if ($monster_location == $player->position){ ?> <script language="javascript"> monster = window.open('monster.php?monster='+monster,'monster_popup','width=520,height=250,scrollbars=no,toolbar=no,location=no'); </script> Attack <? }else{ } } }?>
de text attack komt er wel te staan, maar de javascript word niet uitgevoerd...
iemand enig idee waarom deze het niet doet?
|