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.
|
|
|
|
|
![]() |
||
Over-writing content if name is the same
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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 |
|
|
|
#2
|
|||
|
|||
|
Each entry needs to have a unique key.
Do you know how to set that up? |
![]() |
| Tags |
| overwriting, content, name, same |
| Thread Tools | |
|
|
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 |