Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/09/2006, 05:25
Avatar de Bytevamp
Bytevamp
 
Fecha de Ingreso: junio-2005
Ubicación: /var/www/
Mensajes: 789
Antigüedad: 18 años, 10 meses
Puntos: 7
Prueba con


Código PHP:
mysql_query("create database $gen_basedatos"$link);
$sql="CREATE TABLE `Administrador` (
  `Id` int(11) NOT NULL auto_increment,
  `User` text NOT NULL,
  `Password` text NOT NULL,
  PRIMARY KEY  (`Id`)
) ENGINE=MyISAM ;

INSERT INTO `Administrador` (`Id`, `User`, `Password`) VALUES (1, 'admin', '21232f297a57a5a743894a0e4a801fc3');"
;

$result mysql_query($sql,$link); 
Deberia funcionar.

Saludos.
__________________
"zankius veri mach" a todos los que me habeis ayudado.
carteles para inmobiliarias || alquiler de coches