Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 30th, 2004, 01:12 AM
golffor1 golffor1 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 4 golffor1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to golffor1
List box question

I am new to this forum, and am not for sure if I am posting this in the right spot or not. I have a php code that fills a listbox with first names of people that are in my database. I was wondering if someone could help me to find out how do I get it to where when someone clicks on the first name of the person it shows their birthday and lastname under the listbox. I have a primary key and it is called ID, I have 3 fields called first, last, and bday. I was not sure how to set the item clicked to the url, but if I can do that then can't i just pull it back down and then essentially use php to select * from table where $name = name. I know I am probably going about this the totally wrong way but can someone help?

Reply With Quote
  #2  
Old August 30th, 2004, 06:19 PM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 4
Send a message via Yahoo to bakertrg
RE: List box question

if you want to do this on the fly without reloading the page you need to use javascript, if you're talking about submitting a form then you can set the value of each selection to the id value and then pull back the bday and last name from the db based upon WHERE id = $id

Reply With Quote
  #3  
Old October 15th, 2004, 06:41 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: List box question

I'm also new user ...
i need to assign each value at my list box to different page ..
Can you tell me how ?? plz

thnx

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > List box question


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 2 hosted by Hostway
Stay green...Green IT