|
Posted by Paul Furman on 03/17/07 03:24
Kimmo Laine wrote:
> "Paul Furman" <paul-@-edgehill.net> wrote in message
> news:mygKh.7272$Um6.5399@newssvr12.news.prodigy.net...
>
>>I can't find a way to create an alert popup box for debugging, is this
>>possible in php? I guess I'm thinking of visual basic where that was so
>>easy, in php I normally use *print* for this but it can be hard to find.
>
>
>
> No, it's not possible. Alertbox's don't exist in php. (Only way to make a
> popup would be echo some javascript which would generate the popup.
>
> <?php
>
> $foo = bar;
> echo "<script type='text/javascript'>alert('$foo')</script>";
>
> ?>
Great, thanks. I guess because it just isn't an html possibility either
& php simply produces html... or javascript ;-)
Navigation:
[Reply to this message]
|