Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in PHP only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
PHP
Does php has any function like 'alert()' in javascript ?
Does php has any function like 'alert()' in javascript ?
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
pradnya
#1
Does php has any function like 'alert()' in javascript ?
Dec 12 '07, 10:25 AM
Does php has any function like 'alert()' in javascript ?
I want a popup window to display a message in php.
Erwin Moller
#2
Dec 12 '07, 10:35 AM
Re: Does php has any function like 'alert()' in javascript ?
pradnya wrote:
Does php has any function like 'alert()' in javascript ?
I want a popup window to display a message in php.
PHP runs on the server in almost all cases.
Do you want a popup on the server?
If you want PHP to alert something, simply use the ouput PHP sends back
to the browser.
Erwin Moller
Comment
Post
Cancel
Gordon
#3
Dec 12 '07, 12:05 PM
Re: Does php has any function like 'alert()' in javascript ?
On Dec 12, 10:16 am, pradnya <pdu...@gmail.c omwrote:
Does php has any function like 'alert()' in javascript ?
I want a popup window to display a message in php.
<?php
echo ('<script type="text/javascript">ale rt ("boo!");</script>');
?>
Comment
Post
Cancel
Animesh K
#4
Dec 12 '07, 10:35 PM
Re: Does php has any function like 'alert()' in javascript ?
Gordon wrote:
On Dec 12, 10:16 am, pradnya <pdu...@gmail.c omwrote:
>Does php has any function like 'alert()' in javascript ?
>I want a popup window to display a message in php.
>
<?php
echo ('<script type="text/javascript">ale rt ("boo!");</script>');
?>
Loved this one. LOL!
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment