You are here: Re: alert popup box « PHP Programming Language « IT news, forums, messages
Re: alert popup box

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация