|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Said I'd be back, how do you pull data off a db and then put into a form.
I want the users details ie name, address etc to be displayed in a html form when the user goes to check out.
|
|
#2
|
|||
|
|||
|
[PHP]<form name="form1" method="post" action="">
<p>name: <input type="text" name="textfield2" value="<? print "$client_name"; ?>"> </p> <p>adress... <input type="text" name="textfield" value="<? print "$client_adr"; ?>"> </p> <p>and so on</p> <p> <input type="submit" name="Submit" value="Submit"> </p> </form> |
|
#3
|
|||
|
|||
|
Thanks for the help
Thanks Pheifel,
I found it worked without the print command! Won't be back till monday cos it's the weekend thats the time I get to have fun with my misses. But when I return I'm sure I'll have lots of new probs Enjoy the weekend all. Ernie |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Said I'd be back, how do you pull data off a db and then put into a form. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|