I have a number of mysql tables with different table structures and all they have the followings table names and fieldnames (the ones of the left are table names and on the right are field names)
I want to be able to delete the values of the rows using a single variable (example $id = somename) in a single query
user id,
user_image user
user_interest user
user_lang id
user_login user
user_personal user
user_prefer user
user_reviewuser
user_role user_id
user_translang user
user_translate user
user_web id
Also, a particular userid may not be present across all tables.
I am not sure at all on how to delete them all at once. Any tips would be appreciated, i looked at a couploe of similar questions but couldn't find a proper answer.