This topic is locked

user ID as default

8/14/2008 7:33:37 AM
PHPRunner General questions
I
iripais author

Hi
I have to tables

  • users
  • requests
    in the users I have id, groupid, email, password (email is the login username)
    At the requests table I have id, user, request
    How can I set user to be the default login username?
    thanks

J
Jane 8/15/2008

Hi,
use $_SESSION["UserID"] as default value on the "Edit as" settings dialog on the Visual Editor tab.