Can I create a rule on my drupal 7 website and that rule will:
Whenever a user is logged in (only logged in users can see this content) and a certain content is clicked I want to write a mysql update statement to my database. The user name of that person and what content was clicked.
I know I can execute PHP code for my action but not sure if I need to somehow convert mysql and php together? please if anyone knows and could give a fairly detailed instructions I would appreciate it greatly!