Title: Global variable
Last modified: April 20, 2022

---

# Global variable

 *  Resolved [kenusys](https://wordpress.org/support/users/kenusys/)
 * (@kenusys)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/global-variable-3/)
 * When user create a row (record ) in the table . i would like know who made thos
   row , i add column name ‘creator’ and set the default value column as $$id$$
   
   But it dose not work ? Please help me
 * Ken

Viewing 1 replies (of 1 total)

 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/global-variable-3/#post-15577403)
 * Hi Ken,
 * You can use a default value in your project template. This feature is documented
   here:
    [https://wpdataaccess.com/docs/documentation/project-templates/data-entry/](https://wpdataaccess.com/docs/documentation/project-templates/data-entry/)
 * See: supported default values
 * It is not possible to access the WP user id directly from MySQL.
 * Hope this helps,
    Peter

Viewing 1 replies (of 1 total)

The topic ‘Global variable’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/global-variable-3/#post-15577403)
 * Status: resolved