Ver Mensaje Individual
  #5 (permalink)  
Antiguo 09/07/2007, 12:39
Avatar de deet
deet
 
Fecha de Ingreso: mayo-2005
Ubicación: Córdoba - Argentina
Mensajes: 269
Antigüedad: 19 años
Puntos: 1
Re: Ayuda con php + mysql y tablas de html

hola ajalex,


de esta forma tu script deberia funcionar
Código PHP:
<?php 
include "config.php"
$sql "SELECT * FROM plans where prin='1' limit 0,10" 
$resp mysql_query($sql); 
$par 0
echo 
"<table width=100% border=1>"
while(
$plan mysql_fetch_array($resp)) { 
if (
$par == 0
echo 
"<tr valign=\"top\"><td>"
?> 
 Aqui 
<? 
if ($par == 0
echo 
"</td><td>"
else 
echo 
"</td></tr>"
$par++; 
}  
echo 
"</table>"
?>