Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~94 People Reached
Favorite Forums
Favorite Tags
php x 4
Member Avatar for Dragan.

[CODE]if(isset($_POST['addreservation']) and $_POST['addreservation'] == 'Add'){ include $_SERVER['DOCUMENT_ROOT'] . '/TattooSite/include/db.inc.php'; $username=$_SESSION['username']; //Geting the id of loggedin client $result=mysqli_query($link, "SELECT id FROM client_tbl WHERE user_name='$username' "); if(!$result){ $error='Error identifying user ' . mysqli_error($link); include $_SERVER['DOCUMENT_ROOT'] . '/TattooSite/include/error.html.php'; exit(); } $row=mysqli_fetch_array($result); $clientid=$row['id']; //Geting the values generated in reservation form $id=mysqli_real_escape_string($link, $_POST['id']); $tattoo=mysqli_real_escape_string($link, $_POST['tattoo']); …

Member Avatar for Dragan.
0
94