This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-- | |
Author: W3layouts | |
Author URL: http://w3layouts.com | |
License: Creative Commons Attribution 3.0 Unported | |
License URL: http://creativecommons.org/licenses/by/3.0/ | |
--*/ | |
html, body{ | |
font-family: 'Lato', sans-serif; | |
font-size: 100%; | |
background: #FFf; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script language="javascript" type="text/javascript" src="jquery.js"></script> | |
</head> | |
<body> | |
<!------------------------------------------------------------------------- | |
1) Create some html content that can be accessed by jquery | |
--------------------------------------------------------------------------> | |
<h2> Client example </h2> | |
<h3>Output: </h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//-------------------------------------------------------------------------- | |
// Example php script for fetching data from mysql database | |
//-------------------------------------------------------------------------- | |
$host = "localhost"; | |
$user = "root"; | |
$pass = "root"; | |
$databaseName = "ajax01"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form name="classic"> | |
<select name="countries" size="4" onChange="updatecities(this.selectedIndex)" style="width: 150px"> | |
<option selected>Select A City</option> | |
<option value="usa">USA</option> | |
<option value="canada">Canada</option> | |
<option value="uk">United Kingdom</option> | |
</select> | |
<select name="cities" size="4" style="width: 150px" onClick="alert(this.options[this.options.selectedIndex].value)"> | |
</select> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$host = "localhost"; // host name ... | |
$user = "root"; // username database | |
$pass = ""; // pass database | |
$database = "vietbook"; // choose database | |
$connection = mysqli_connect($host, $user, $pass, $database) or die('cant connect'); | |
mysqli_query($connection, "SET NAMES 'utf8'"); // importance ! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include_once 'dbconfig.php'; | |
?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title> test </title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | |
<script type="text/javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include_once 'dbconfig.php'; | |
if($_POST['type_top']) | |
{ | |
$type_top=$_POST['type_top']; | |
$query = "SELECT * FROM type_child WHERE type_top='$type_top'" ; | |
$result = mysqli_query($connection,$query) ; | |
?> | |
<option selected="selected">Select State :</option> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<!--thẻ meta bắt buộc phải có trong project responsive--> | |
<title>Sichiblog - Tạo 1 trang web responsive đơn giản</title> | |
<link rel="stylesheet" type="text/css" href="default.css"> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> |
OlderNewer