Felix Rabinovich wrote:
is there a function in PHP to get a message popup on the web page? Couldn't
find any (or missed it) in the docs; so I am now putting "echo <script>
alert(whatever)</script>" whic feels really strange... there go to be a
better solution...
The better solution is not to use pop-ups. Good web browsers do not
allow JavaScript to open windows indirectly (i.e. without the user
specifically clicking a JS link), so a lot of users will never see your
lovingly crafted pop-up messages.
Unless you're talking about warning dialogues, in which case, yeah -
you'll have to just echo JS to the page.
--
Bob
London, UK
echo Mail fefsensmrrjyaheeoceoq\! | tr "jefroq\!" "@obe.uk"