Posted by Kimmo Laine on 03/16/07 06:46
"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>";
?>
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti pδivittyvδ nettisarjis
spam@outolempi.net | rot13(xvzzb@bhgbyrzcv.arg)
Navigation:
[Reply to this message]
|