Is there an equivalent in PHP for Javascript's "alert", e.g. alert("Thank You"); How do you do it in PHP?
No, PHP is server side, JS is client side.
but you could do this:
<?php $alert = "hello people!";
if ($alert) echo "<SCRIPT language=JavaScript>alert('$alert');</SCRIPT>";
?>
Yes. But that is still javascript, not php's equivalent of alert().
Richie. geocities.com/akindele.
Sure it's still Javascript but most people who ask that sort of question are still having problems sorting out what happens where and think you can't combine the two technologies.
It's more important to learn where to code than what to code I reckon