ME AJUDA POR FAVOR
<!--O INDEX.HTML--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Created by JMarques DSN</title>
<link href="css/estilo.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="box">
<div class="img" align="center">
<a href="jmarques.html"><img src="images/logo_jm.png" /></a>
</div><!--imagen-->
<div id="formulario_cadastro">
<form action="" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Cadastro de Usuários:</legend>
<label>
<span>Nome:</span>
<input type="text" name="nome" id="nome" />
</label>
<label>
<span>Login:</span>
<input type="text" name="login" id="login" />
</label>
<label>
<span>Senha:</span>
<input type="password" name="senha" id="senha" />
</label>
<input type="submit" name="cadastrar" id="cadastrar" value="Cadastrar" class="btn" />
</fieldset>
</form>
</div><!--formulario_cadastro-->
</div><!--BOX-->
</body>
</html>
<!--A PÁGINA CONFIG.PHP-->
<?php
$conexao = mysql_connect("localhost","gtasalva_jm","32199340");
$conecta = mysql_select_db("gtasalva_jmarques",$conexao);
?>
//SENDO QUE "gtasalva_jm" É O NOME DO USUÁRIO PRO DB E "32199340" É A SENHA DESSE USUÁRIO... E "gtasalva_jmarques" É O NOME DO BANCO DE DADOS
<!--CSS PARA O INDEX.PHP-->
*{margin:0; padding:0;}
body{
background:#00B9FB;
}
#formulario_cadastro form{
width:300px;
display:block;
margin:0 auto;
background:#FFF;
border:2px solid #0296E4;
}
#formulario_cadastro fieldset{
border:0;
padding:0 15px 10px 15px;
}
#formulario_cadastro legend{
font:20px Tahoma, Geneva, sans-serif;
color:#0296E4;
font-weight:bold;
padding:10px 0;
text-align:center;
}
#formulario_cadastro label{
display:block;
padding:3px 0;
}
#formulario_cadastro span{
display:block;
font:18px "Trebuchet MS", Arial, Helvetica, sans-serif;
color:#0296E4;
font-weight:bold;
}
#formulario_cadastro input{
padding:3px;
width:260px;
border:1px solid #00B9FB;
font:18px Tahoma, Geneva, sans-serif;
color:#666;
font-weight:bold;
}
#formulario_cadastro input:hover{
border:1px solid #047ED5;
}
#formulario_cadastro .btn{
width:120px;
display:block;
margin:10px auto;
cursor:pointer;
background:#0296E4;
color:#FFF;
}
#formulario_cadastro .btn:hover{
background:#00B9FB;
}
.ok{
padding:3px;
background:EAFFD5;
border:1ps solid #090;
}
.no{
padding:3px;
background:FDE;
border:1px solid #F00;
}
ME AJUDA POR FAVOR
