0 Replies Latest reply on Mar 12, 2010 6:02 AM by Raylar

    Register user loging in


      When a user logs in to my Login page I want to enter the username into a VISITOR table to know who logged in.


      Being new to Dreamweaver I have writen the 2 middle lines in the following Dreamweaver code (first and last line), but it does not save the info into the VISITOR table. Could somebody please enlighten me?


          if (isset($_SESSION['PrevUrl']) && true) {


               $query = "INSERT INTO `visitor` ('username') VALUES ('$loginUsername')";
               $result = mysql_query($query);

          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];  




      Many Thanks