Bonjour comment puis je faire un delete multitable ?
j'ai essayé ca :
$sql = "DELETE FROM studio,campagnes,photographes WHERE studio=$varville"
mais ca ne marche pas.
merci d'avance.
++Syntaxe multi-tables :
DELETE [LOW_PRIORITY] [QUICK] [IGNORE] table_name[.*] [, table_name[.*] ...]
FROM table-references
[WHERE where_definition]
ou :
DELETE [LOW_PRIORITY] [QUICK] [IGNORE]
FROM table_name[.*] [, table_name[.*] ...]
USING table-references
[WHERE where_definition]