Ir para conteúdo

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Zoação

Como inserir dados da SESSION em um TEXTBOX?

Recommended Posts

Criei uma SESSION com os dados que preciso, porém preciso inserir estes em textbox de uma página php. Como faço isto?

 

Esta é a página que preciso inserir os dados:

 

inserirdadostextbox.php

 

<?php

	session_start();

?>
</head>

<form enctype='multipart/form-data' action='process.php' method='post'>
<table cellspacing="0" style="width: 750;" bordercolor="#000066" cellpadding="0" align="center" class="auto-style2">
	<tr><td height="30" class="auto-style15" colspan="3">
		<strong>ENDEREÇO PARA ENTREGA</strong></td></tr><tr>
		<td height="30" class="auto-style19" colspan="3">
		 </td></tr><tr>
		<td height="30" class="auto-style12" style="width: 3">
		 </td><td height="30" class="auto-style13" style="width: 120px">
		Nome</td>
<td height="30" width="469" class="auto-style12">
<font face="Verdana">
<input type="text" name="nomecompleto" /></td></tr><tr>
		<td height="30" class="auto-style12" style="width: 3">
		 </td><td height="30" class="auto-style13" style="width: 120px">
		Logradouro</td>
<td height="30" width="469" class="auto-style12">
<font face="Verdana">
<input type=text name='logradouro' size=5 style="width: 441px"></td></tr><tr>
		<td height="30" class="auto-style12" style="width: 3">
		 </td><td height="30" class="auto-style13" style="width: 120px">
		Número</td>
<td height="30" width="469" class="auto-style12">
<font face="Verdana"><input type=text name='numero' size=5 style="width: 211px"></td></tr><tr>
		<td height="30" class="auto-style12" style="width: 3">
		 </td><td height="30" class="auto-style13" style="width: 120px">
		Bairro</td>
<td height="30" width="469" class="auto-style12">
<font face="Verdana"><input type=text name='bairro' size=5 style="width: 439px"></td></tr><tr>
		<td height="30" class="auto-style12" style="width: 3">
		 </td><td height="30" class="auto-style13" style="width: 120px">
		Telefone</td>
<td height="30" width="469" class="auto-style12">
<font face="Verdana">
<input type="text" name="texto" style="width: 211px"></td></tr><tr>
		<td height="30" class="auto-style12" style="width: 3">
		 </td><td height="30" class="auto-style17" style="width: 120px">
		 </td>
<td height="30" width="469" class="auto-style12">
 </td></tr><tr><td colspan="3" height="25" width="737" ><p align="center"><font face="Verdana" size="2"><input type=submit value='Submit Form'>               <input type=reset value='Reset Form'></font></td></tr>
</table></form> <br>

 

Obrigado !!!

Compartilhar este post


Link para o post
Compartilhar em outros sites

 

Rogério,

 

Obrigado!!

Agora esta parte está funcionando perfeitamente!!!

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.