Search engine

Question by kazyboi1994:
php or javascript question?

write, state that i put a google adsense script and a user somehow blocks adverts, how can i get php/javascript to know a script aint working?
———————————————————————————————————-
also if i have a frame that loads a page and it has an error, how can i tell php/javascript that
one second one, i mean, if the page fails to load/ the page doesnt exist, e.g http://ggoogle.co.uk/


——————————————

Answer by Makoto Yoshimoto
look into error checking. something like:

On Error Goto $ myLabel

in Visual Basic 6

——————————————
Know better? Leave your own answer in the comments!