
Enviar Id?
#1
Posted 29/11/2010, 09:47
<input type="image" onClick="abrir(<? echo $resultset["fd_Codigo_id"];?>)" name="imageField" id="imageField" src="images/fileopen.gif">
a função que recebe o comando é essa:
<script language="javascript" type="text/javascript">
function abrir($codcli){
form.action = "atualizarCadastroCliente.php";
form.submit();
}
</script>
como faço pra mandar o ID recebido na primeira linha para que na pagina "atualizarCadastroCliente.php" eu possa recuperar os dados do usuario nos seus respectivos campos ex:
Nome:
Endereço:
Cpf:
e assim por diante?
agradeço.
#2
Posted 29/11/2010, 18:18
form.action = "atualizarCadastroCliente.php?id=" + codcli;
Ai dentro do seu arquivo php, você recupera essa variavel usando algo do tipo:
$id = $_GET["id"];
E se eu não me engano, você não precisa por o $ para definir a variavel na sua função em js. Apenas o nome dela no parametro e pronto.
function abrir(codcli)
Edição feita por: RenanCunha, 29/11/2010, 18:18.
#3
Posted 30/11/2010, 10:40
o meu java script ficou assim:
<script language="javascript">
function abrir($codcli){
form.action = "atualizarCadastroCliente.php?id" = codcli;
form.submit();
}
</script>
e a minha imagem onde eu clico pra ativar a função e mandar o id pra outra pagina ficou assim:
<input name="imageField" type="image" onClick="abrir(<?php echo $resultset["codnoticia"];?>)" src="images/fileopen.gif" width="24" height="24">
abre a lista de clientes normalmente mas quando clico na imagem de abrir que fica em cada linha não acontece nada simplemente não manda pra pagina de editar o cliente o que eu poderia fazer?
#4
Posted 30/11/2010, 21:55
AO invés de usar assim:
<script language="javascript"> function abrir($codcli){ form.action = "atualizarCadastroCliente.php?id" = codcli; form.submit(); } </script>
Você coloca assim:
<script language="javascript"> function abrir($codcli){ form.action = "atualizarCadastroCliente.php?id=" + codcli; form.submit(); } </script>
O igual deve estar dentro das aspas... e em javascript o operador que usamos para concatenar é o +...
Tenta aí ... vamos ver se funciona agora...

#5
Posted 01/12/2010, 08:12
vc colocaram assim:
<script language="javascript"> function abrir($codcli){ form.action = "atualizarCadastroCliente.php?id=" + codcli; form.submit(); } </script>
mais o serto seria:
<script language="javascript"> function abrir(codcli){ form.action = "atualizarCadastroCliente.php?id=" + codcli; form.submit(); } </script>estava erro na hora de declarar a variavel dentro da funcao
function abrir($codcli){
que no qual o serto e
function abrir(codcli){
sem a "$"
vlw!!
#6
Posted 01/12/2010, 10:10
olha a tela de cadastro apareceu depois das dicas de vcs, mas não trouxe os dados para os campos
minha pagina começa assim:
<?php
include "config.php";
$id_cliente= $_GET["id"];
$sql = ("select * from tb_usuario WHERE fd_Codigo_id = '$id_cliente'")
or dir("Erro de sql!".mysql_erro());
$exe = mysql_query($sql);
$linha = mysql_fetch_array($exe);
$nome = $linha['fd_Nome_razaoSocial'];
$cpf = $linha['fd_Cpf'];
$cnpj = $linha['fd_Cnpj'];
$cidade = $linha['fd_Cidade'];
$telefone = $linha['fd_Telefone'];
?>
<html>
<head>
aparti daqui começa o meu form com os campos:
<input name="nome" type="text" value= "<?php echo $nome;?>" id="nome" size="61" maxlength="75">
<input name="nome" type="text" value= "<?php echo $cpf;?>" id="nome" size="61" maxlength="75">
<input name="nome" type="text" value= "<?php echo $cnpj;?>" id="nome" size="61" maxlength="75">
e assim por diante mas os meus campos estão retornando vazios
alguem pode me ajudar onde deveria ajustar?
#7
Posted 04/12/2010, 15:11
<?php
include "config.php";
$id_cliente= $_GET["id"];
$qry = mysql_query("SELECT * FROM tb_usuario WHERE fd_Codigo_id = '$id_cliente'") or die (mysql_error());
$linha = mysql_fetch_array($qry);
$nome = $linha['fd_Nome_razaoSocial'];
$cpf = $linha['fd_Cpf'];
$cnpj = $linha['fd_Cnpj'];
$cidade = $linha['fd_Cidade'];
$telefone = $linha['fd_Telefone'];
?>
<html>
<head>
<input name="nome" type="text" value= "<?php echo $nome;?>" id="nome" size="61" maxlength="75">
<input name="nome" type="text" value= "<?php echo $cpf;?>" id="nome" size="61" maxlength="75">
<input name="nome" type="text" value= "<?php echo $cnpj;?>" id="nome" size="61" maxlength="75">
#8
Posted 04/12/2010, 23:20
<?php
include "config.php";
$id_cliente= $_GET["id"];
$qry = mysql_query("SELECT * FROM tb_usuario WHERE fd_Codigo_id = '$id_cliente'") or die (mysql_error());
$linha = mysql_fetch_array($qry);
$nome = $linha['fd_Nome_razaoSocial'];
$cpf = $linha['fd_Cpf'];
$cnpj = $linha['fd_Cnpj'];
$cidade = $linha['fd_Cidade'];
$telefone = $linha['fd_Telefone'];
?>
<html>
<head>
<title>Cadastro de Cliente</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/styles.css" type="text/css">
<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.style3 {color: #FF0000}
-->
</style>
</head>
<body background="images/bg_page.gif">
<table width="598" border="0" cellspacing="0" cellpadding="0" align="center">
<tr bgcolor="#FFFFFF">
<td width="757" valign="top"><table width="102%" cellspacing="0" cellpadding="0" height="32" border="0">
<tr>
<td height="32" bgcolor="#FFFF99" class="text" style="padding-left:25px"><strong> EDITAR CLIENTES <a href="index.php"> </a></strong></td>
</tr>
</table>
<form name="form" method="post" action="">
<table width="100%" border="0" cellspacing="10" cellpadding="0" bordercolor="#FFFFFF">
<tr>
<td align="center" valign="top" bordercolor="#CCCCCC" class="text"><p> </p>
<table cellpadding="0" cellspacing="3">
<tr>
<td width="150"><font face="Verdana, Arial, Helvetica, sans-serif" class="text"> <strong>Nome/Razão Social:</strong></font></td>
<td width="323">
<input name="nome" type="text" value= "<?php echo $nome; ?>" id="nome" size="61" maxlength="75"></td>
</tr>
<tr>
<td height="26" class="text"> <strong>CPF:</strong></td>
<td><input name="cpf" type="text" value="<? echo '$cpf';?>"id="cpf" size="14" maxlength="11"></td>
</tr>
<tr>
<td height="26" class="text"> <strong>CNPJ:</strong></td>
<td><input name="cnpj" type="text" value="<? echo $cnpj;?>" id="cnpj" size="16" maxlength="14"></td>
</tr>
<tr>
<td height="26" class="text"> <strong>Cidade:</strong></td>
<td><input name="cidade" type="text" value="<? echo $cidade;?>" id="cidade" size="40" maxlength="40"></td>
</tr>
<tr>
<td height="25" class="text"><strong>Telefone:</strong></td>
<td><input name="fone" type="text" value="<? echo $cidade;?>" id="fone" size="20" maxlength="12"></td>
</tr>
<tr>
<td height="18" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th align="center" class="text" scope="col"><table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr>
<th width="29%" height="26" align="left" class="text" scope="col"> </th>
<td width="71%"><input name="enviar" type="submit" id="enviar" value="Enviar Cadastro">
<input name="limpar" type="reset" id="limpar" value="Limpar Dados"></td>
</tr>
</table>
<p class="style3"> </p>
<p class="text"> </p></th>
</tr>
</table></th>
</tr>
</table></td>
</tr>
<tr>
<td height="13" colspan="4"> </td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>
Edição feita por: babal, 04/12/2010, 23:21.
#9
Posted 05/12/2010, 11:55
tipo:
index.php?id=2
pois se nao tiver o id la no link nao vai adiantar!!
testa assim:
<?php session_start(); include "config.php"; $sql = "select * from tb_usuario "; $result = mysql_query($sql); ?> <html> <head> <title>Lista de Clientes</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="css/styles.css" type="text/css"> <style type="text/css"> <!-- .style6 { color: #000000 } .style10 {color: #FF0000} --> </style> <body background="images/bg_page.gif"> <table width="1005" border="0" align="center" cellpadding="0" cellspacing="0"> <tr bgcolor="#FFFFFF"> </td> <td width="1000" valign="top"><table width="100%" cellspacing="0" cellpadding="0" height="20" border="0"> <tr> <td height="20" align="left" bgcolor="#FFFF99" class="text" style="border-top:1px solid #FFFFFF"> <strong><span class="style10">LISTA DE CLIENTES </span> <a href="listaEscolha.php">Lista escolha...</a></strong></td> </tr> </table> <form name="form" method="" action=""> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th width="44%" height="13" align="left" class="text style6" scope="col"> </th> <th width="39%" align="left" class="text style6" scope="col"> </th> <th width="17%" align="left" class="text style6" scope="col"> </th> </tr> </table> <table width="100%" border="2" cellpadding="0" cellspacing="0"> <tr> <th width="4%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col"> </th> <th width="35%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col">NOME RAZAO SOCIAL</th> <th width="38%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col">CIDADE</th> <th width="19%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col">TELEFONE</th> <th width="4%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col"> </th> </tr> <?php while($resultset = mysql_fetch_array($result)) { ?> <tr class="text"> <th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th scope="col"><label> <input type="image" onclick="location.href=atualizarCadastroCliente.php?id=<?php echo $resultset["fd_Codigo_id"];?>;" name="imageField" id="imageField" src="images/fileopen.gif" /> </label></th> </tr> </table> <label></label> <label></label></th> <th align="left" class="text style6" scope="col"><?php echo "$resultset[fd_Nome_razaoSocial]<br>";?> </th> <th align="left" class="text style6" scope="col"><?php echo "$resultset[fd_Cidade]<br>";?> </th> <th align="left" class="text style6" scope="col"><?php echo "$resultset[fd_Telefone]<br>";?></th> <th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th> </tr> </table> <label></label></th> </tr> <?php } ?> </table> <table width="100%" border="0" cellpadding="3" cellspacing="3" bgcolor="#FFFF99"> <tr> <th width="75%" align="center" valign="top" scope="col"><span class="text"> <span class="style10"><< 1|2|3|4 >> </span> </span></th> <th width="25%" class="text" scope="col"> </th> </a></tr> </table> <p> </p> </form> <?php mysql_close($db); ?> </td> </td> </tr> </table> </body> </html>
#10
Posted 05/12/2010, 23:59
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=<?php echo $resultset["fd_Codigo_id"];?>;" name="imageField" id="imageField" src="images/fileopen.gif" />
mas quando eu clico na imagem não redireciona para pagina atualizarCadastroCliente.php carrega a mesma pagina .
#11
Posted 06/12/2010, 10:21
onclick="location.href=atualizarCadastroCliente.php?id=<?php echo $resultset["fd_Codigo_id"];?>"
modifiquei um ; que tinha
Edição feita por: Fábio Web Arts, 06/12/2010, 10:25.
#12
Posted 06/12/2010, 22:23
Mesmo assim minha linha ficou assim:
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=<?php echo $resultset["fd_Codigo_id"];?>" name="imageField" id="imageField" src="images/fileopen.gif" />
mesmo assim ele não está mandando pra pagina atualizarCadastroCliente.php da um refresh mas continua na mesma pagina
cara esse erro logico ta cruel .
Alguém pode ajudar no desenrolar desse post ?
Edição feita por: babal, 06/12/2010, 22:23.
#13
Posted 07/12/2010, 08:46
executa o script que lista essa pagina dae antes de tu clicar nessa img pega o codigo fonte gerado pelo navegador e posta aki!!!
#14
Posted 07/12/2010, 14:23
<html>
<head>
<title>Lista de Clientes</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/styles.css" type="text/css">
<style type="text/css">
<!--
.style6 {
color: #000000
}
.style10 {color: #FF0000}
-->
</style>
<body background="images/bg_page.gif">
<table width="1005" border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#FFFFFF">
</td>
<td width="1000" valign="top"><table width="100%" cellspacing="0" cellpadding="0" height="20" border="0">
<tr>
<td height="20" align="left" bgcolor="#FFFF99" class="text" style="border-top:1px solid #FFFFFF"> <strong><span class="style10">LISTA DE CLIENTES </span> <a href="listaEscolha.php">Lista escolha...</a></strong></td>
</tr>
</table>
<form name="form" method="" action="">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="44%" height="13" align="left" class="text style6" scope="col"> </th>
<th width="39%" align="left" class="text style6" scope="col"> </th>
<th width="17%" align="left" class="text style6" scope="col"> </th>
</tr>
</table>
<table width="100%" border="2" cellpadding="0" cellspacing="0">
<tr>
<th width="4%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col"> </th>
<th width="35%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col">NOME RAZAO SOCIAL</th>
<th width="38%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col">CIDADE</th>
<th width="19%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col">TELEFONE</th>
<th width="4%" align="left" bgcolor="#CCCCCC" class="text style6" scope="col"> </th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=1" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">ANDESON SANTOS<br> </th>
<th align="left" class="text style6" scope="col">FORTALEZA<br> </th>
<th align="left" class="text style6" scope="col">32233223<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=2" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">CAMILA RIBEITO<br> </th>
<th align="left" class="text style6" scope="col">FORTELEZA<br> </th>
<th align="left" class="text style6" scope="col">23233223<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=3" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">CAMILA RIBEIRO<br> </th>
<th align="left" class="text style6" scope="col">FORTELEZA<br> </th>
<th align="left" class="text style6" scope="col">23233223<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=4" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">ANDESON SANTOS<br> </th>
<th align="left" class="text style6" scope="col">DDDDDDDDDDD<br> </th>
<th align="left" class="text style6" scope="col">222222222222<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=5" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">EEEEEEEEEE<br> </th>
<th align="left" class="text style6" scope="col">FFFFFFFFFFFFFFFFF<br> </th>
<th align="left" class="text style6" scope="col">222222222222<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=6" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">VDVDS<br> </th>
<th align="left" class="text style6" scope="col">VDFVDF<br> </th>
<th align="left" class="text style6" scope="col">vdfvdf<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=7" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">FFFFFFFFF<br> </th>
<th align="left" class="text style6" scope="col">FFFFFFFFFFFFFF<br> </th>
<th align="left" class="text style6" scope="col">333333333333<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=8" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">RERERER<br> </th>
<th align="left" class="text style6" scope="col">RTRETRETRETERTERTE<br> </th>
<th align="left" class="text style6" scope="col">543534543543<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=9" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">DFSGDFGDFG<br> </th>
<th align="left" class="text style6" scope="col">FSDFDSFDSF<br> </th>
<th align="left" class="text style6" scope="col">4324234234<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=10" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">FDSFDSFDSF<br> </th>
<th align="left" class="text style6" scope="col">DSFSDFF<br> </th>
<th align="left" class="text style6" scope="col">43243242<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=11" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">FGDGFDGF<br> </th>
<th align="left" class="text style6" scope="col">DSRSRSFDSFDF<br> </th>
<th align="left" class="text style6" scope="col">43535345345<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=12" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">SFDDSFSDF<br> </th>
<th align="left" class="text style6" scope="col">EFREWFF<br> </th>
<th align="left" class="text style6" scope="col">4234234<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=13" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">SDFSDF<br> </th>
<th align="left" class="text style6" scope="col">TRETRTT<br> </th>
<th align="left" class="text style6" scope="col">43543543534<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=14" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">ANDERSON SANTOS DA SILVA<br> </th>
<th align="left" class="text style6" scope="col">FORTALEZA<br> </th>
<th align="left" class="text style6" scope="col">32736454<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=15" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">ANDERSON SANTOS DA SILVA<br> </th>
<th align="left" class="text style6" scope="col">FORTALEZA<br> </th>
<th align="left" class="text style6" scope="col">12313213213<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=16" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">ANDERSON SANTOS DA SILVA<br> </th>
<th align="left" class="text style6" scope="col">FORTALEZA<br> </th>
<th align="left" class="text style6" scope="col">121321321321<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
<tr class="text">
<th height="31" align="left" class="text" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><label>
<input type="image" onclick="location.href=atualizarCadastroCliente.php?id=17" name="imageField" id="imageField" src="images/fileopen.gif" />
</label></th>
</tr>
</table>
<label></label> <label></label></th>
<th align="left" class="text style6" scope="col">ANDERSON SANTOS DA SILVA<br> </th>
<th align="left" class="text style6" scope="col">FORTALEZA<br> </th>
<th align="left" class="text style6" scope="col">213213213213<br></th>
<th align="left" class="text style6" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><input type="image" name="imageField2" id="imageField2" src="images/delete.gif"></th>
</tr>
</table>
<label></label></th>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="3" bgcolor="#FFFF99">
<tr>
<th width="75%" align="center" valign="top" scope="col"><span class="text"> <span class="style10"><< 1|2|3|4 >> </span> </span></th>
<th width="25%" class="text" scope="col"> </th>
</a></tr>
</table>
<p> </p>
</form>
</td>
</td>
</tr>
</table>
</body>
</html>
#15
Posted 08/12/2010, 11:43
vo pensar uma funcao aki!!!
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)