<?php
# SETTINGS
$max_width = 100;
$max_height = 100;
function getPictureType($ext) {
if ( preg_match('/jpg|jpeg/i', $ext) ) {
return 'jpg';
} else if ( preg_match('/png/i', $ext) ) {
return 'png';
} else if ( preg_match('/gif/i', $ext) ) {
return 'gif';
} else {
return...
Monday, January 13, 2014
Php Code For Payment Process
<?php session_start() ?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>tameraplazainn</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<?php
$errmsg_arr = array();
$errflag = false;
if(empty($_SESSION['6_letters_code']...
Php And Html Code For Admin Home Page
<?php
require_once('auth.php');
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script src="js/jquery-1.2.1.pack.js" type="text/javascript"></script>
<script src="js/jquery-easing.1.2.pack.js"...
PHP code To cancelle any Booking IN Hotel
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.view{
overflow: auto;
float:right;
width: 680px; height: 390px;
margin:0 auto;
padding: 50px 0px;
}
-->
</style>
<!--sa...
Saturday, January 11, 2014
HTML code to Design front Page of any hotel
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>KHYBERS GUEST House</title>
<meta http-equiv="Content-Type" content="text/html;...
PHP Code for Inserting Data
<html>
<head>
<style type="text/css">
ul {
list-style: none;
margin: 0;
}
li {
float: left;
}
a {
background: #404853;
background: linear-gradient(#687587,...
PHP code To upgrade any data with css in it
<?php
$company = $_POST["company"];
if(isset($_POST['submit']))
{
$result = mysql_query("SELECT * FROM detail WHERE company_name=$company");
while($row = mysql_fetch_array($result))
{
echo $row['premise_name']."<br />";
echo $row['company_name']."<br />";
echo $row['address']."<br...