slt stephane,
je n'arrive pas a supprimer,dans la description de mon solex, deux des trois vilo que j'ai mis.rien ne marche, c'est le
que faire
$sql = "SELECT mods.*, g.year, g.id, images.*, user.username, user.user_avatar_type, user.user_allowavatar, user.user_avatar, images.attach_ext, images.attach_id, images.attach_file, cats.title as category_title, makes.make, models.model, bus.name as business_name, ins.name as install_business_name, ins.id as install_business_id, CONCAT_WS(' ', g.year, makes.make, models.model) AS vehicle
FROM (" . GARAGE_MODS_TABLE . " AS mods, " . GARAGE_TABLE . " AS g )
LEFT JOIN " . USERS_TABLE ." AS user ON g.member_id = user.user_id
LEFT JOIN " . GARAGE_CATEGORIES_TABLE . " AS cats ON cats.id = mods.category_id
LEFT JOIN " . GARAGE_IMAGES_TABLE . " AS images ON images.attach_id = mods.image_id
LEFT JOIN " . GARAGE_MAKES_TABLE . " AS makes ON g.make_id = makes.id
LEFT JOIN " . GARAGE_MODELS_TABLE . " AS models ON g.model_id = models.id
LEFT JOIN " . GARAGE_BUSINESS_TABLE . " AS bus ON mods.business_id = bus.id
LEFT JOIN " . GARAGE_BUSINESS_TABLE . " AS ins ON mods.install_business_id = ins.id
WHERE mods.id = $mid AND g.id = mods.garage_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could Not Select Modification Data', '', __LINE__, __FILE__, $sql);
}
Retourner vers Le site Solex-Competition.net
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 9 invités