PHP Classes
Icontem

File: SQL.sql


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ersin Güvenç  >  SEO link factory class  >  SQL.sql  
File: SQL.sql
Role: Auxiliary data
Content type: text/plain
Description: sql file
Class: SEO link factory class
Retrieve friendly URLs from a database
 

Contents

Class file image Download
CREATE DATABASE IF NOT EXISTS seo_example;
USE seo_example;

CREATE TABLE IF NOT EXISTS `articles` (
  `article_id` int(11) NOT NULL auto_increment,
  `title` varchar(500) character set utf8 NOT NULL,
  `article` text character set utf8 NOT NULL,
  `link` varchar(600) character set utf8 NOT NULL,
  PRIMARY KEY  (`article_id`),
  KEY `link` (`link`)
);

INSERT INTO `articles` (`article_id`, `title`, `article`, `link`) VALUES
(1, 'çğü._eğş08ÀØñ', 'blablabla blab lbal balb la', 'cgu-_egs08aqn'),
(2, 'i See dead peoPle', 'i see bla bla bla blab bla', ''),
(3, 'çğü._eğş08ÀØñ', 'test test test 123 blab bla bla', 'cgu-_egs08aqn-1');


 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products