Posted by Steve Belanger on 03/16/07 20:46
one thing i could suggest is to try a IDE program with an integrated
debugger. This way you can check content of a variable as you run the script
on a step by step mode. We are working on a pretty decent one that can also
debug javascript if need be.
read more about it here: http://www.jcxsoftware.com/
Steve.
"Kimmo Laine" <spam@outolempi.net> wrote in message
news:_2rKh.17422$m72.2935@reader1.news.saunalahti.fi...
> "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)
>
[Back to original message]
|