why do you have it in PHP? why not just have it in normal html and echo the variables
<script type="text/javascript">
<!-- <? function ip(id) { ?>
window.open("index.php action=ippopup&id="+id,"toolbar=no,location=no,men ubar=no,scrollbars=no,width=10 0,height=50,resizeable=no,status=no")
<? } ?>
// -->
</script>
<a href="java script:<? echo "ip(id)";?>><?echo "[$IP]";?></a>
|