Jump to content

[SOLVED] alert boxes


HAN!

Recommended Posts

There is none,

 

javascript is a client-side language, that's why it can bring up a windows dialog box.

PHP on the other hand, is a server-side scripting language, that can only do server-side functionality. (with the exception of headers)

 

You can use PHP to output an alert() in javascript in a .php file, but other than that... PHP can't make a alert box (like javascript) come up by its self.

Link to comment
https://forums.phpfreaks.com/topic/74550-solved-alert-boxes/#findComment-376820
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.