Results 1 to 19 of 19

Thread: Conditionally call <?php ?> code? [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Addicted Member Phenix's Avatar
    Join Date
    Sep 2002
    Location
    Near A Cube
    Posts
    228

    Question Conditionally call <?php ?> code? [RESOLVED]

    Can I have php code existing in a file, but the code between the tags only gets called conditionally (say, when a javascript button is pressed)?

    I want to set a PHP SESSION variable only if a button is pressed.
    Last edited by Phenix; Apr 27th, 2003 at 12:31 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width