On 8/31/06, Curt Zirzow <[EMAIL PROTECTED]> wrote:
On 8/30/06, Shu Hung (Koala) <[EMAIL PROTECTED]> wrote:
> On 8/31/06, Peter Lauri <[EMAIL PROTECTED]> wrote:
> >
> > Koala,
> >
> > There is no difference with the php generated javascript and
javascript on
> > a
> > static html page.
> >
> > Ta
On 8/30/06, Shu Hung (Koala) <[EMAIL PROTECTED]> wrote:
On 8/31/06, Peter Lauri <[EMAIL PROTECTED]> wrote:
>
> Koala,
>
> There is no difference with the php generated javascript and javascript on
> a
> static html page.
>
> Take a look at the source code of the page that has been generated in th
put this at the top of your script "ob_start();" or before any output.
On 8/31/06, Shu Hung (Koala) <[EMAIL PROTECTED]> wrote:
On 8/31/06, Peter Lauri <[EMAIL PROTECTED]> wrote:
>
> Koala,
>
> There is no difference with the php generated javascript and javascript
on
> a
> static html page.
>
>
On 8/31/06, Peter Lauri <[EMAIL PROTECTED]> wrote:
Koala,
There is no difference with the php generated javascript and javascript on
a
static html page.
Take a look at the source code of the page that has been generated in the
browser, and if that one looks as it should, it is probably your
ja
that is the case you can join the [EMAIL PROTECTED] list for that
purpose.
/Peter
-Original Message-
From: Shu Hung (Koala) [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 10:41 AM
To: PHP General Users
Subject: [PHP] php generated javascript
Hello,
I'm writing a scri
Hello,
I'm writing a script to generate a javascript. The javascript would
generate a banner when it is sourced. This javascript is sourced
by another html like this:
However, Sometimes the javascript doesn't show anything at all. it
seems that the php generated javascript cannot be loaded som
On Mon, February 20, 2006 1:59 am, Tim Burgan wrote:
> Is is possible to make an external Javascript with PHP.
>
> Am I doing this correcT?
>
>
> header("Content-Type: text/javascript");
>
> $text = "Hello World";
>
> echo "alert('".$text."');";
You may need to include the trailing newline on
On Mon, Feb 20, 2006 at 06:29:12PM +1030, Tim Burgan wrote:
> Is is possible to make an external Javascript with PHP.
>
> Am I doing this correcT?
>
>
> header("Content-Type: text/javascript");
>
> $text = "Hello World";
>
> echo "alert('".$text."');";
>
> ?>
This looks perfectly fine.
The
Is is possible to make an external Javascript with PHP.
Am I doing this correcT?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 matches
Mail list logo