> Is there any function in PHP that is similar to alert() or > confirm() of javascript ? I tried die() but that's not what I need.
What do you want it to do? Remember, though, that PHP = server side while Javascript = client side. If you want alert() or confirm() functionality on the client side (why would you want this server side; it'll just hang there until someone on the back end hits a key or something) use either of those two functions. Chris