Sunday, September 13, 2015

Code PHP Login

1. create database name user

CREATE TABLE `tbluser` (
  `LogID` varchar(20) NOT NULL,
  `Name` varchar(50) NOT NULL,
  `Password` varchar(30) NOT NULL,
  `Email` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

Saturday, August 29, 2015

sample tbluser in mysql


--
-- Table structure for table `tbluser`
--

CREATE TABLE IF NOT EXISTS `tbluser` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) NOT NULL,
  `email` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=40 ;

Monday, August 10, 2015

Sunday, August 9, 2015

Form Validation in JavaScript with HTML

Client side form validation usually done with javascript. For the majority of your users, JavaScript form validation will save a lot of time up front, but double-checking the data on the server remains necessary, in case the user has turned JavaScript off.
Form data that typically are checked by a JavaScript could be:

Saturday, August 8, 2015

Sample Select and Edit form in MySQL using PHP

Directory Structure :


1. Create database name registration1 and table tblstudent as code below :

--
-- Table structure for table `tblstudent`
--
drop database if exists registration1;
create database registration1;
use registration1;

DROP TABLE IF EXISTS `tblstudent`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `tblstudent` (
  `StudentID` int(5) NOT NULL default '0',
  `FirstName` varchar(20) character set utf8 default NULL,
  `LastName` varchar(20) character set utf8 default NULL,
  `Sex` varchar(5) default NULL,
  `Email` varchar(50) character set utf8 default NULL,
  `Address` varchar(100) character set utf8 default NULL,
  `Subject` varchar(50) default NULL,
  `Sport` varchar(50) default NULL,
  `Fruit` varchar(50) character set utf8 default NULL,
  PRIMARY KEY  (`StudentID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;
--------------------------

Thursday, August 6, 2015

Create Motion Guide with Flash CS6


How to set Label Gaget as Category

  1. Labels are a way to easily categorize your posts. When you're writing a post, click Labelson the side and enter the labels you like, separating them with commas. Labels you've used before will show up below, and you can just click them to add them to the post.
  2. To set label go to layout -> Edit sidebar add Gadget -> Labels


Thursday, July 30, 2015

How to install Wordpress in Localhost

Describes how to install WordPress 3.1.1 to setup and publish a Websites. Covers all the steps like
(1) downloading WordPress files
(2) creating Database, database users and assign users through cPanel
(3) editing wp-config.php file
(4) uploading files to Website File System using Core FTP Lite
(5) Running install.php to install WordPress

Wednesday, July 29, 2015

How to creat logo with devide color by text :

1.  Select Elipe tool to draw one circle have only
2. fill without strok (layer lock)
3. using Type tool to type text (example : TM) by
choosing capitalize font
4. Right click on text -> Create Outline
5. Transform text by edge full of circle
6. remove lock from layer circle
7. Select all text and circle -> choosing shap
builder tool to fill color on circle and Text by

using color picker also.

Blending Picture in photoshop


Very easy way to blending two images into one picture