prepare($sql); $query-> bindParam(':name', $name, PDO::PARAM_STR); $query-> bindParam(':email', $email, PDO::PARAM_STR); $query-> bindParam(':sujet', $sujet, PDO::PARAM_STR); $query-> bindParam(':msg', $msg, PDO::PARAM_STR); $query->execute(); $lastInsertId = $dbh->lastInsertId(); if($lastInsertId) { echo ""; echo ""; } else { $error="Something went wrong. Please try again"; } } ?>
description);?>