User Profile

Collapse

Profile Sidebar

Collapse
Greg Crowe
Greg Crowe
Last Activity: Jul 15 '11, 07:58 PM
Joined: Jul 14 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Greg Crowe
    replied to embed php within an HTML hyperlink
    in PHP
    thanks for instruction. That worked. Here's the logout.php file I created.

    <?php
    //start session
    session_start() ;

    //remove session variables
    session_unset() ;

    // destroy the session
    session_destroy ();

    ?>
    See more | Go to post
    Last edited by Greg Crowe; Jul 15 '11, 07:57 PM. Reason: I figured out my problem

    Leave a comment:


  • Greg Crowe
    started a topic embed php within an HTML hyperlink
    in PHP

    embed php within an HTML hyperlink

    This is the code for the hyperlink on a web page.
    <li class="current_ page_item" ><a href="</p>http://active.com">Log out</a></li>

    How do I add php code to be executed when "Logout" is clicked. I've tried adding the php code, but it continually executes the php code when the page is loaded.
    See more | Go to post
No activity results to display
Show More
Working...