queria saber se alguem pode me explica
como funciona esse negocio de DNS para registrar um dominio ?
posso ter mais de um dominio no meu HOST ?

Nochaos hasn't added any friends yet.
04/06/2006, 02:18
10/05/2006, 22:02
02/05/2006, 22:54
<? include('base/config.php'); $tabela ="´conteudo´"; if (@$_GET['id']){ $id = $_GET['id']; if (file_exists("$id.php")){ include("$id.php");}} $id = @$_GET['id']; $y = mysql_query("SELECT * FROM $tabela where id='$id'"); while($x= mysql_fetch_array($y)){ echo'<h1>'.$x[titulo].'</h1><br />'.$x[conteudo].'';} ?>para chamar o conteudo meu link fica assim
02/02/2006, 22:20
23/01/2006, 22:20
Code scriptNotice: Undefined variable: pagina in c:\arquivos de programas\easyphp1-8\www\muraltuox\pag.php on line 14
<HTML>
<HEAD>
<link rel="stylesheet" href="estilo.css" type="text/css">
<TITLE>Documento PHP</TITLE>
</HEAD>
<BODY>
<?
include "conexao.php";
$busca= "SELECT * FROM `mural` WHERE 1
ORDER BY ID DESC";
$total_reg = "7"; // número de registros por página
if (!$pagina) {
$pc = "1";
} else {
$pc = $pagina;
}
$inicio = $pc - 1;
$inicio = $inicio * $total_reg;
$resultado = mysql_query("$busca LIMIT $inicio,$total_reg");
$todos = mysql_query("$busca");
$tr = mysql_num_rows($todos); // verifica o número total de registros
$tp = $tr / $total_reg; // verifica o número total de páginas
// vamos criar a visualização
$cor = "#000";
$ttb = "80";
while ($linha = mysql_fetch_assoc($resultado))
{
$id = $linha ["id"];
$nome = $linha ["nome"];
$email = $linha ["email"];
$cidade = $linha ["cidade"];
$estado = $linha ["estado"];
$mensagem = $linha ["mensagem"];
echo "<table border=\"0\" width=\"330\">
<tr>
<td align=\"right\" width=\"$ttb\"><b>De:</b></td>
<td width=\"250\"><font color=\"$cor\">$nome </font></td>
</tr>
<tr>
<td align=\"right\" width=\"$ttb\"><b>Para:</b></td>
<td width=\"250\"><font color=\"$cor\">Galera da Tuox</font></td>
</tr>
<tr>
<td align=\"right\" width=\"$ttb\"><b>Email:</b></td>
<td width=\"266\"><font color=\"$cor\">$email </font></td>
</tr>
<tr>
<td align=\"right\" width=\"$ttb\"><b>Cidade:</b></td>
<td><font color=\"$cor\">$cidade </font></td>
</tr>
<tr>
<td align=\"right\" width=\"$ttb\"><b>Estado:</b></td>
<td width=\"266\"><font color=\"$cor\">$estado </font></td>
</tr>
<tr>
<td valign=\"top\" align=\"right\" width=\"$ttb\"><b>Mensagem:</b></td>
<td valign=\"top\" width=\"266\"><font color=\"$cor\">$mensagem </font></td>
</tr>
<tr>
<td align=\"right\" width=\"$ttb\">Recado N°:</td>
<td width=\"250\"><font color=\"$cor\">$id</font></td>
</tr>
</table><BR>";
}
// agora vamos criar os botões "Anterior e próximo"
$anterior = $pc -1;
$proximo = $pc +1;
if ($pc>1) {
echo " <a href='?pagina=$anterior'><< Anterior</a> ";
}
echo "|";
if ($pc<$tp) {
echo " <a href='?pagina=$proximo'>Próxima >></a>";
}
?>
</BODY>
</HTML>
Community Forum Software by IP.Board
Licensed to: Webmasters Online