Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/10/2009, 10:04
oziel_ad
 
Fecha de Ingreso: noviembre-2008
Mensajes: 19
Antigüedad: 15 años, 5 meses
Puntos: 0
Respuesta: cambiar URL a mantenimiento

ahora empece con esto... pero no se mucho de php me falta empaparme,, pero hice select para mostrar las url ... pero son 5 servicios y creo que es muy repetitivo... habra una manera con un arreglo o algo asi mira es lo que tengo hasta ahorita:

Cita:

<?php
echo "<tr>
<td><img src='logo-bb.gif'></td>
<td>Servicios en Linea</td>";
include('conexion.php');
$resultado = mysql_query("SELECT url FROM ligas where id = 1 and estatus= 1");
while($row = mysql_fetch_array($resultado))
$bb1=$row["url"];
echo "<td><input type='radio' name='servicios'>".$bb1."</td>" ;

include("conexion.php");
$sql = mysql_query("SELECT url FROM ligas where id = 1 and estatus= 0");
while($row = mysql_fetch_array($sql))
$bb2=$row["url"];

echo "<td><input type='radio' name='servicios'>".$bb2."</td>
<td><input type='text' name='servicios'></td>
<td><input type='submit' name='submit' value='Cambiar URL'><input type='reset'></td>
</tr>";

?>