Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Temas - DJchus10

Páginas: [1]
1
PHP / [Ayuda]Me pueden hacer esto ?
« en: 24 de Marzo de 2012, 19:47:02 pm »
Miren estoy asiendo un holo y necesito un registro con esta tabla llamada users y un login

Código: [Seleccionar]
-- phpMyAdmin SQL Dump
-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Servidor: localhost
-- Tiempo de generación: 25-03-2012 a las 20:43:50
-- Versión del servidor: 5.5.8
-- Versión de PHP: 5.3.5

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Base de datos: `db3`
--

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

--
-- Estructura de tabla para la tabla `users`
--

CREATE TABLE IF NOT EXISTS `users` (
  `id` int(255) NOT NULL AUTO_INCREMENT,
  `username` text NOT NULL,
  `password` text NOT NULL,
  `look` text NOT NULL,
  `gender` enum('M','F') NOT NULL,
  `motto` text NOT NULL,
  `authenticator` text NOT NULL,
  `credits` int(255) NOT NULL,
  `pixels` int(255) NOT NULL,
  `snowflakes` int(255) NOT NULL,
  `home` int(255) NOT NULL,
  `level` enum('BANNED','USER','GUIDE','XTREME','LINCE','MODERATOR','HEAD MODERATOR','MANAGER','ADMINISTRATOR') NOT NULL DEFAULT 'USER',
  `connected` int(255) NOT NULL,
  `snowwar_points` int(255) NOT NULL DEFAULT '0',
  `snowwar_weeklypoints` int(255) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

si alguien me puediera hacer el login.php y register.php compatible con esta tabla muchas gracias

Páginas: [1]