Over-writing content if name is the same

This is a discussion on "Over-writing content if name is the same" within the PHP Forum section. This forum, and the thread "Over-writing content if name is the same are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 1st, 2005, 17:17
Junior Member
Join Date: Sep 2005
Location: England
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Over-writing content if name is the same

hi guys, on my site the user can fill out a form with details and then submit to the db. The form has 3 inputs Artist, song title and music. But sometimes the user will submit different versions of the same piece of music. The problem i have at the moment is once a song has been entered, if another user puts the same song title but different music then the orginal overwrites the second one which has been entered.

So the db then returns 2 links both called the same, and displaying the same information. How can i stop the orginal from over-writing the music of any others (with the same song name) which are entered.

Hope that makes sense..

Thanks Lobster
Reply With Quote

  #2 (permalink)  
Old Oct 1st, 2005, 23:12
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Each entry needs to have a unique key.
Do you know how to set that up?
Reply With Quote
Reply

Tags
overwriting, content, name, same

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expandable Content Script (Swtich Content) Matc JavaScript Forum 0 Apr 8th, 2008 10:53
Writing a Book? Jack Franklin Webforumz Cafe 16 Feb 27th, 2008 08:26
Content Placement + Content Dividing josephman1988 Website Planning 2 Jan 22nd, 2008 05:02
Copy writing nate2099 Starting Out 7 Jun 19th, 2007 22:13
Writing an XML playlist?? DoghouseTV Other Programming Languages 0 Aug 14th, 2006 01:15


All times are GMT. The time now is 21:50.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43