QUE TAL AMIGOS....KISIERA SABER COMO IMPLEMENTAR LO SIGUIENTE...
UNA VEZ KE SELECCIONES EL PAIS....(YA FUNCIONA)
ME APARESCA EN EL SIGUIENTE COMBOBOX LAS CIUDADES DE ESE PAIS...
AKA DEJO EL COD.
<?php
include("conectar.php");
?>
<fieldset><legend align="center"> Datos Cliente Nuevo </legend>
<form action="registrar_cli.php" method="POST">
<table width="572" border="0" >
<tr>
<td>Nombre </td>
<td><input name="apellidop" size="25" /></td>
<td></td>
</tr>
<tr>
<td>Fono </td>
<td><input name="apellidom" size="25" /></td>
<td></td>
</tr>
<tr>
<td>PAIS</td><td><select name="ciudad">
<?php
//seleccionamos de la BD todos los nombres de las ciudades desde la tabla city
$sql_city=("SELECT PAI_NOMBRE FROM PAI_PAIS WHERE 1 ");
$query=mysql_query($sql_city)
or die ("Error al consultar por conductor:".mysql_error());
echo "<option value ='' >Seleccionar ciudad</option>";
while($datos=mysql_fetch_array($query))
{
echo " <option name=\"$datos[PAI_NOMBRE]\">
$datos[PAI_NOMBRE]</option>";
}
?> </select> </td> <td></td>
</tr>
<tr>
</label> <br />
<tr>
<td/><span class="Estilo5">(<span class="Estilo1">*<span class="Estilo3">) campos obligatorios </span></span></span>
<td><input type="submit" value="Registrar "/>
<label>
<input type="reset" name="reset" value="Borrar" />
</label></td>
</tr>
</table>
</form>
</fieldset>