Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Directory Submission Service   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 07-04-2007, 08:09 AM   #1 (permalink)
Junior Member
 
white10's Avatar
 
Join Date: 10-05-06
Posts: 23
iTrader: 0 / 0%
Latest Blog:
None

white10 is liked by many
tabl

Hi Guys

I want to display data from my agents table againts data from a client table , but each day new clients are added, and only those clients from that day must be displayed to the agents.

Can anyone help me..
white10 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 07-05-2007, 04:51 AM   #2 (permalink)
Junior Member
 
white10's Avatar
 
Join Date: 10-05-06
Posts: 23
iTrader: 0 / 0%
Latest Blog:
None

white10 is liked by many
Hi Guys
I figured it out I created a another table called agent_client which contains the ids for both the agents and clients and linked the 2 tables to the agent_client table

Last edited by white10 : 07-05-2007 at 04:57 AM. Reason: grammar
white10 is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-05-2007, 07:23 AM   #3 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 17,965
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
Thanks for sharing your result!
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
chıcgeeĸ @ flickr
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-05-2007, 12:03 PM   #4 (permalink)
Inactive
 
Join Date: 05-04-07
Posts: 8
iTrader: 0 / 0%
Latest Blog:
None

Utropicmedia-karl is liked by many
Quote:
Originally Posted by white10 View Post
Hi Guys
I figured it out I created a another table called agent_client which contains the ids for both the agents and clients and linked the 2 tables to the agent_client table
you could have also done a join against the two original tables you had then used the WHERE to filter on date.
Utropicmedia-karl is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 05:19 AM.
© Copyright 2008 V7 Inc