• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wrong id returned in join

#10
Yes, in fact I would never have a column called 'id', I have 'user_id', 'letter_id', 'address_id' etc. etc. which is probably why I have never had this issue.

Also, using select fields is something I am trying to be stricter on with myself, as it minimizes array sizes too, which with multiple joins can become quite huge in size. But I have lots of bad coding habits, that I have only realized are bad coding habits with experience. Goodness knows what else I do wrong without realizing it yet :-)
Reply


Messages In This Thread
wrong id returned in join - by frocco - 01-06-2016, 12:57 PM
RE: wrong id returned in join - by PaulD - 01-06-2016, 01:03 PM
RE: wrong id returned in join - by frocco - 01-06-2016, 01:11 PM
RE: wrong id returned in join - by sv3tli0 - 01-06-2016, 01:11 PM
RE: wrong id returned in join - by frocco - 01-06-2016, 01:20 PM
RE: wrong id returned in join - by sv3tli0 - 01-06-2016, 01:25 PM
RE: wrong id returned in join - by frocco - 01-06-2016, 01:32 PM
RE: wrong id returned in join - by PaulD - 01-07-2016, 05:23 AM
RE: wrong id returned in join - by sv3tli0 - 01-07-2016, 05:32 AM
RE: wrong id returned in join - by PaulD - 01-07-2016, 06:19 AM
RE: wrong id returned in join - by frocco - 01-07-2016, 07:04 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.