Is there a way to close the current window in PHP. Something similar to the JS version of window.closw() but I want it to work when it reaches a point in the code...the end of the code where when I put JS there it just closes as soon as it opens.
03-11-2003, 03:48 AM
Write yourself a lil algorithm - if you want it on a command button, do this:
03-11-2003, 11:08 PM
ok, so I tried that code: I used
<input type="submit" onClick="<? $close=1; ?>">