Posted by Karl Groves on 03/23/06 17:46
Rainman <name@yourdomain.com> wrote in news:GDyUf.36085$g91.27014
@tornado.ohiordc.rr.com:
> I didn't find the answer in the FAQ at php.net...
>
> I have a button on parent.php that launches a page (child.php) in a new
> window. Child.php does some database activity and is silent (unless
> there is an error). I want this child.php to close itself if there are
> no errors. How can I do this?
PHP cannot close windows.
However, you can use PHP to conditionally write javascript to do it.
--
Karl Groves
http://karlcore.com
http://chevelle.karlcore.com
Accessibility Discussion List: http://smallerurl.com/?id=6p764du
[Back to original message]
|