Jump to content
php.lv forumi

Login un web


dulais

Recommended Posts

Bet tagad atkal cita problēma!!

 

Man tas SQL ir šāds

 

-- phpMyAdmin SQL Dump
-- version 2.11.6
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 04, 2008 at 05:39 PM
-- Server version: 5.0.51
-- PHP Version: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!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 */;

--
-- Database: `sistema`
--

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

--
-- Table structure for table `lietotaaji`
--

CREATE TABLE `lietotaaji` (
 `id` int(11) NOT NULL auto_increment,
 `vaards` varchar(255) collate utf8_unicode_ci NOT NULL,
 `uzvaards` varchar(255) collate utf8_unicode_ci NOT NULL,
 `epasts` varchar(255) collate utf8_unicode_ci NOT NULL,
 `parole` varchar(255) collate utf8_unicode_ci NOT NULL,
 `bilde` varchar(255) collate utf8_unicode_ci NOT NULL,
 `online` varchar(1) collate utf8_unicode_ci NOT NULL default 'N',
 PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1;

--
-- Dumping data for table `lietotaaji`
--


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

--
-- Table structure for table `veestules`
--

CREATE TABLE `veestules` (
 `id` int(11) NOT NULL auto_increment,
 `autora_id` int(11) NOT NULL,
 `sanjeemeeja_id` int(11) NOT NULL,
 `teema` varchar(255) collate utf8_unicode_ci NOT NULL,
 `zinja` text collate utf8_unicode_ci NOT NULL,
 `laiks` varchar(255) collate utf8_unicode_ci NOT NULL,
 PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1;

--
-- Dumping data for table `veestules`
--

 

Iznāk tā ka ar loginu nekas neiznāks varētu izmainīt šo SQL lai viņš derētu arī loginam??Bet tik atstāj lai paliek tās vēstules un bildes

 

šīs divas vietas

 

  `bilde` varchar(255) collate utf8_unicode_ci NOT NULL,
 `online` varchar(1) collate utf8_unicode_ci NOT NULL default 'N',

Edited by dulais
Link to comment
Share on other sites

×
×
  • Create New...