General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 1st, 2004, 09:40 AM
Erniefrontier Erniefrontier is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 12 Erniefrontier User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old April 1st, 2004, 12:27 PM
Pheifel Pheifel is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: Denmark
Posts: 174 Pheifel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 46 sec
Reputation Power: 5
Send a message via MSN to Pheifel
[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>

Reply With Quote
  #3  
Old April 3rd, 2004, 07:06 AM
Erniefrontier Erniefrontier is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 12 Erniefrontier User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral 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 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT