This topic is locked

2 little problems

8/2/2007 3:56:19 PM
PHPRunner General questions
B
benc author

What a great program!!
But a few issues:

  1. With version 4.1 build 287, the inline edit is a great new feature. But it doesnt work on one of my tables. I have it switched on for all the tables in my DB, and it shows up in the layout when I am working in PHPR, but then the function is missing from the generated PHP pages. I tried regenerating, but this one table just wont come up with Inline Edit - any ideas? (I have the same default template for all the tables).
  2. How can I get the login name of the person who is logged in and put it into a field whenever a person changes or adds a record? Must be easy - just not sure how to do it.
    That's all for now - thanks!

    Ben

Sergey Kornilov admin 8/2/2007

Ben,
post your app to Demo Account (last tab in PHPRunner) and send the URL to support@xlinesoft.com.
To update field with logged user name use BeforeAdd/BeforeEdit events and the following code:
$values["UpdatedBy"] = $_SESSION["UserID"];