php - Create trigger after insert for user id -


Good day to everyone! I have 1 table (user) that I want to use to update the UID field in another table (recipes). Therefore, when the user prepares a recipe, the UD should be inserted in the Recipes table. This is a trigger created by me, after error message:

  After adding on recipes for each line update recipes, create user = url = users.uid trigger users_recipes where users.uid = Variants ('', '', 'inserted', '', '', '', '', '', '', '' ',' United States ',' Blah 1/2 and Blah ',' A: 1: {i: 0; s: 3: "Nut" ;} ',' Universal ',' ',' ',' ',' 2014-11-04 ') == -----> Table' recipes' can not be updated in stored function / trigger because it is already Used by the statement that applies this stored function / trigger 

If someone can help me understand what I did wrong, then I appreciate it.

Thanks a long time ago!


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -