![]() |
|
|
|
|
|
|
2
11th November 11:11
External User
Posts: 1
|
Just take out member_id = '%s' and use friendWIthId = '%s' instead.
Actually, I think you may need to swap member/friendwith as well... But why you are storing everybody's NAME twice is beyond me... Or maybe I'm guessing wrongly what the fields are... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? |
|
|
3
11th November 11:13
External User
Posts: 1
|
Hi Richard, I'll try out your suggestions and will let you know if i had any luck.
The db structure is a little complicated hence the duplication of usernames. Cheers Actually, I think you may need to swap member/friendwith as well... But why you are storing everybody's NAME twice is beyond me... Or maybe I'm guessing wrongly what the fields are... On Thu, January 24, 2008 10:49 am, Don Don wrote: -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. |
|
|
4
11th November 16:30
External User
Posts: 1
|
A complicated DB is all the MORE reason not to duplicate data...
Stop typing and start thinking, because you are building up a mess that WILL bite you in the butt in the long run... Unless you've been doing SQL for 20 years and this IS one of the times to break all the rules. :-) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? |
|
| Some other forums that might be of your interest : Php 5 forum, Apache forum, Iis forum, Functions forum, Classes forum, Librarys forum, Bugs forum, Postgres forum, Mysql forum, Paradox forum, Ms sql forum, Configurations forum, Php.ini forum, Problems forum, Scripting forum, Css forum, General forums, Off-topic talk, Links, Extra forums, Php |