Call a PHP file?

Discussion in 'PHP' started by MichaelLewis, Apr 12, 2008.

  1. #1
    In my form, I have several radio buttons for different work choices and one for "No more work". Whenever any one of these is selected and the submit button is clicked, the Action in my form calls the Work.PHP file.

    In this Work.PHP file, I want to call the NoMoreWork.PHP file.

    How do I do this?

    Also, not a PHP question but peerhaps you can help me.
    Is it possible to sort the Threads by user name so that I can see all my Threads?

    Thanks,
    Michael
     
    MichaelLewis, Apr 12, 2008 IP
  2. LoCo

    LoCo Well-Known Member

    Messages:
    232
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    #2
    you can use include inside your php file

    and do something like

    <?php include 'nomorework.php'; ?>
     
    LoCo, Apr 12, 2008 IP