Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DB Query Problem

Status
Not open for further replies.

Dynamo3209

Programmer
Jan 2, 2003
57
US
Hi,
I am creating an user contact/email programme in PHP and Mysql, I have to implement an addressbook feature in it, where the user is given a listing of his safe contact list, and besides each entry there is an edit and delete button, now how should I write the query to grab the particular contact which the user wants to edit or delete. I have a table with userid (multiple entries for one user, his contact list) contact id(unique for each entry).
if user A has 2 listings in this contacts with contact id 1 &2 both these are displayed on the addressbook page with edit / delete buttons besides each entry, now if he wants to edit entries for contact id 1, then how can I grab this entry to be edited.

Thanks for any help,
Dynamo.
 
download the entire application from the wox website...the code for the php mail app is there...you can then see the source code and model yours after it

Bastien

Any one have a techie job in Toronto, I need to work...being laid off sucks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top