Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(isset($_POST['insert']))
- {
- insert();
- }
- function insert(){
- $requete = "INSERT INTO "event" (
- title,
- start,
- end,
- description
- )
- VALUES
- (
- "$txttitle",
- "$txtstart",
- "$txtend",
- "$txtdescription"
- )";
- $resultat = $base_hndl->exec($requete);
- return $resultat;
- echo "feito";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement