Basic PHP help...please look

I need to launch an html page with certain dimensions when a function is called in my PHP script. Something like this

function success() {
open("popuptemp.html",["toolbar=no,width=326,height=252,status=no,scrollbars=no,resizable=no,location=no,menubar=no"]);

exit;
}

Can someone help me rewrite it?
Thanks

Comments

  • try something like this:

    [code=pre]


    Title here!


    <?


    function launch(){
    ?>



    <?
    }


    launch();
    ?>



    [/code]

    with other words end your PHP with ?> and use a piece of Javascript. after that open your PHP again with <?

    this works...

    ;-)
    -mac-
    mailto:programmersheaven@mac-doggie.nl
    the Netherlands...


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion