hola como estan, que opinan de mi tabla creada en MySQl
es para una libreria, la cual tendra toda la informacion de los libros y su posterior venta, tengo dudas con la asignacion de datos.
como le doy valor de dinero a los campos ;
`precio_internet` int(10) NOT NULL,
`precio_normal` int(10) NOT NULL,
Saludos
Código PHP:
-- Base de datos: `libreria`
-- Estructura de tabla para la tabla `libros`
CREATE TABLE `libros` (
`titulo` text NOT NULL,
`isbn` int(15) NOT NULL,
`isbn_13` int(15) NOT NULL,
`autor` text NOT NULL,
`editorial` text NOT NULL,
`paginas` int(10) NOT NULL,
`edicion` text NOT NULL,
`web` text NOT NULL,
`disponibilidad` text NOT NULL,
`precio_internet` int(10) NOT NULL,
`precio_normal` int(10) NOT NULL,
`fecha_ingreso` date NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `libros` VALUES ('PROGRAMADOR CERTIFICADO JAVA 2 CURSO', 2147483647, 0, 'MARTIN ', 'ALFAOMEGA MEXICO', 620, 'Primera', 'http://www.agapea.com/libros/Programador-Java-2-Certificado-Curso-practico--isbn-8478977236-i.htm', 'Inmediata', 20300, 25000, '2009-10-23');