la primera
mira te dare los codicos pra q veas mas o menos lo q quiero.
Cita: <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
a img {
border: 0px none;
}
</style>
<script type="text/javascript">
function init(){
var inp = document.getElementsByTagName('input');
for(var i = 0; i < inp.length; i++) {
if(inp[i].type == 'text') {
inp[i].setAttribute('rel', inp[i].defaultValue);
inp[i].onfocus = function() {
if(this.value == this.getAttribute('rel')) {
this.value = '';
} else {
return false;
}
}
inp[i].onblur = function() {
if(this.value == '') {
this.value = this.getAttribute('rel');
} else {
return false;
}
}
inp[i].ondblclick = function() {
this.value = this.getAttribute('rel')
}
}
}
}
if(document.childNodes) {
window.onload = init
}
</script>
</head>
<body style="background-color: transparent;">
<table width="806" height="49" border="0">
<tr>
<td height="45" align="center"><form method="get" action="http://127.0.0.1/PHP/Untitled 2.php" target="Contenido">
<label></label><label>
<input type="radio" name="Buscar" value="Ini" />
Inicie
<input type="radio" name="Buscar" value="Con" />
Contenga
<input type="radio" name="Buscar" value="Ter" />
Termine con:<br />
</label>
<label>
<select name="SG">
<option>Grupos</option>
<option>Amigos</option>
<option>Familia</option>
<option>Trabajo</option>
<option>General</option>
</select>
<label>
<input type="text" value="Nombre">
</label>
<label>
<input type="text" value="Apellido">
</label>
<select name="Tipo">
<option>Tipo</option>
<option>☎ Casa</option>
<option>☝ Movil</option>
<option>✍ Oficina</option>
</select>
<label>
<input type="submit" name="button" value="Enviar" >
</label>
<label></label><label></label> </form>
<hr />
<iframe name="Contenido" align="middle" scrolling="no" frameborder="0" src="a.html" width="800" height="217" allowtransparency></iframe></td>
</tr>
</table>
</body>
</html>
y disculpame por tardar en responder gracias.
a te dire de nuevo lo q quiero. Es cuando el usuario aga su busqueda y presione el submi los datos q sacara de la base de datos la muestre en el iframe de abajo. gracias