View Single Post

  #2 (permalink)  
Old 04-17-2008
Olaf Schinkel
 
Posts: n/a
Default Re: javascript in php

Seen schrieb:
> 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
> }
> }
> ?>

Your Problem is **not** Php.
Ypur Problem is "How do i become a programmer".
Read PHP an JAVASCRIPT an HRML and and and.... (The HowTos)


Reply With Quote