Ver Mensaje Individual
  #7 (permalink)  
Antiguo 27/09/2006, 11:28
maricleta
 
Fecha de Ingreso: septiembre-2006
Mensajes: 9
Antigüedad: 17 años, 7 meses
Puntos: 0
ayuda con mis link

hola de nuevo ya les habia comentado de mi problema pero aun sigo con el miren ahora hice mi pagina utilizando tablas ok, ahora si ya toma los colores k le inserto pero sigo con el problema de los link tengo un menu al cual kiero k haga un link con otro pagina q realice ok pero no lo agarra al momento de lanzarlo a mi localhost estoy utilizando dreamweaver+php y mysql osea(appserv)pero no logro hacer mis link ya tengo mas de una semana intentando espero me puedan ayudar este es mi codigo

Código PHP:
<html>
<head>
<title>Proyecto de PHP y MySQL</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.Estilo1 {    font-family: "Courier New", Courier, mono;
    font-size: 24px;
    color: #00FF66;
}
.Estilo4 {color: #FF0000}
.Estilo2 {color: #FF2BFF}
.Estilo6 {color: #00FF33; font-size: xx-large; font-family: "Courier New", Courier, mono; font-weight: bold; }
.Estilo13 {font-size: medium; font-family: "Courier New", Courier, mono;}
.Estilo18 {color: #FFFF33}
.Estilo20 {font-size: medium; font-family: "Courier New", Courier, mono; color: #FFFF33; }
-->
</style>
</head>

<body>
    
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
  <!--DWLayoutTable-->
  <tr bgcolor="#333366">
    <td height="109" colspan="2" valign="top"><div align="center"><span class="Estilo6">Ejemplo de uso de bases de datos con PHP y MySQL</span> </div></td>
  </tr>
  <tr>
    <td width="162" height="1887" valign="top" bgcolor="#333366"><p class="Estilo1">&nbsp;</p>
      <p class="Estilo1">  MENU
      <p class="Estilo13 Estilo18"><a href="mostrar.php" target="_top">Mostrar</a>  
      <p class="Estilo20"><a href="borrar.php" target="_top">Borrar</a></p>
    <p class="Estilo18"><a href="index.php" target="_top">Inicio</a></p></td>
    <td width="100%" valign="top" bgcolor="#66CCFF"><div align="right">
        <p align="right">&nbsp;</p>
        <p align="right"> <span class="Estilo2">
          <?php 
echo date("d/m/Y H:i:s");                       
?>
        </span></p>
        <p align="right">&nbsp;</p>
        <p align="center"> <span class="Estilo4">
          <?php 
    
include("librerias/conexion.php"); 
   
$link=Conectarse(); 
   
$nombre=$_POST['nombre'];
  
$apellido=$_POST['apellido']; 
   if ((
strlen(trim($_POST['nombre'])) == 0) || (strlen(trim($_POST['apellido'])) == 0))
{
echo
" ESTOS CAMPOS SON OBLIGATORIOS";
}
else if((
is_numeric($nombre) )||(is_numeric($apellido)))
{
echo 
" SOLO ACEPTA DATOS";
}
else
{
   
mysql_query("insert into fany (Nombre,Apellido) values ('$nombre','$apellido')",$link);  
   }
?>
        </span> </p>
    </div>      <form action="index.php" method="get" >
        <div align="center">
          <table width="339">
            <tr>
              <td width="80" ><strong>Nombre:</strong></td>
              <td width="321" >
                <input type="text" name="nombre" size="20" maxlength="30"/>
              </td>
            </tr>
            <tr>
              <td ><strong>Apellido:</strong></td>
              <td >
                <input type="text" name="apellido" size="20" maxlength="30"/>
              </td>
            </tr>
          </table>
          <p>&nbsp; </p>
          <p>
            <input type="submit" name="accion" value="Grabar"/>
          </p>
        </div>
    </form></td>
  </tr>
  <tr>
    <td height="0"></td>
    <td></td>
  </tr><tr><td height="1"><img src="spacer.gif" alt="" width="162" height="1"></td><td></td>
    </tr>
</table>
</body>
</html>

Última edición por Cluster; 27/09/2006 a las 12:01