<?php
include 'connectMySql.php';
$emri=$_REQUEST["emri"];
$mbiemri=$_REQUEST["mbiemri"];
$email=$_REQUEST["email"];
$data=$_REQUEST["data"];
$ora=$_REQUEST["ora"];
$nr_persona=$_REQUEST["nr_persona"];
$query="INSERT INTO rezervim(emri,mbiemri,email,data,ora,nr_persona) VALUES(' ".$emri." ',' ".$mbiemri." ',' ".$email." ',' ".$data." ',' ".$ora." ' , '".$nr_persona."')";
mysql_query($query) or die(mysql_error());
mysql_close($conn);
?>
RainaAnja
-3
Light Poster
Recommended Answers
Jump to Posti want to check the date i can book in,if it is available
you can perform a query using a SELECT statement with a WHERE clause to see if the date is available.
Unfortuantely, there isnt really much information that you provided to be able to give you …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.