Login   Register  
PHP Classes
elePHPant
Icontem

File: mysql_class.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Martinescu Petrica  >  MySQL object approach  >  mysql_class.sql  >  Download  
File: mysql_class.sql
Role: Auxiliary data
Content type: text/plain
Description: mysql export script for creating database tables for examples
Class: MySQL object approach
Execute common MySQL database queries
Author: By
Last change:
Date: 2007-05-04 09:24
Size: 773 bytes
 

Contents

Class file image Download
-- phpMyAdmin SQL Dump
-- version 2.9.0.2
-- http://www.phpmyadmin.net
-- 
-- Gazda (Host): localhost
-- Timp de generare: Mai 02, 2007 at 08:05 PM
-- Versiune server: 5.0.24
-- Versiune PHP: 4.4.4
-- 
-- Baza de date: `mysql_class`
-- 

-- --------------------------------------------------------

-- 
-- Structura de tabel pentru tabelul `first_table`
-- 

CREATE TABLE `first_table` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL,
  `field` text NOT NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM  AUTO_INCREMENT=4 ;

-- 
-- Salvarea datelor din tabel `first_table`
-- 

INSERT INTO `first_table` VALUES (1, 'John', 'IT');
INSERT INTO `first_table` VALUES (2, 'Sarah', 'Management');
INSERT INTO `first_table` VALUES (3, 'Alex', 'Sports');