javascript in php
I have this bit of php in a much larger php file that requests
information from users don't supply enough info, I want to open
another html file for display. I get an error that sends me far down
into the php file to the start of some html code. Am I doing something
not allowed??
Thanks Axel
<?php
......
function getmore() {
// Main Logic
$notsub = true;
// ck subject is correct
if($notsub) {
?>
<script type="text/javascript">
open("../moer.html","Moreinfo",toolbar=0,resizable=0,locati on=0,menubar=0,status=0,directories=0,scrollbars=0 )
</script>
<!php
}
}
?>
|