- Options Get information about how the server allows to communicate with.
- GET Retrieve a resource.
- POST Create a new resource.
- PUT Send data to the server.
- DELETE Delete an existing resource.
- TRACE Return the request headers sent by the client.
Showing posts with label web. Show all posts
Showing posts with label web. Show all posts
Monday, 26 August 2013
What is HTTP methods ? #web
Monday, 12 August 2013
how to start PHP / Mysql Connection
here is a simple connection between php and mysql. in 5 steps .
Step 1:
create the db
CREATE DATABASE `mydb`;
USE `mydb`;
CREATE TABLE `employee` (
`id` int UNIQUE NOT NULL AUTO_INCREMENT,
USE `mydb`;
CREATE TABLE `employee` (
`id` int UNIQUE NOT NULL AUTO_INCREMENT,
`first_name` varchar(40),
`last_name` varchar(50),
PRIMARY KEY(id)
);
INSERT INTO cars VALUES('usama','saad');
INSERT INTO cars VALUES('hasan','hamaky');
INSERT INTO cars VALUES('noor','sobhy');
`last_name` varchar(50),
PRIMARY KEY(id)
);
INSERT INTO cars VALUES('usama','saad');
INSERT INTO cars VALUES('hasan','hamaky');
INSERT INTO cars VALUES('noor','sobhy');
Subscribe to:
Posts (Atom)