View Single Post

  #3 (permalink)  
Old 04-18-2008
Seen
 
Posts: n/a
Default Re: javascript in php

On Thu, 17 Apr 2008 19:01:21 +0200, Olaf Schinkel
<blablabla@bluxxxxxxxx.de> wrote:

>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)
>

Not very helpful. You should use "and" not "an".
Reply With Quote