get field name/number with data?
#1

hello i use g-stylezzz mysql plugin. now i have a table with fields named 1,2,3,4 etc...
now the prob is if someone changes their name, i want it to be changed in this table too. but idk in which field his/her name is in. so how do i do it?
Reply
#2

You should name fields by their usage, i.e: 'Username' and 'Password' instead of 1, 2, 3, 4, etc. I can't see what fields are which without your database dump which is going to be a mess because you've decided to make some retarded scripting decisions.
Reply
#3

no its for orgs where i store the memebers name
Reply
#4

Yes, you shouldn't use NUMBERS as field names, field names, the name suggests what it's supposed to retain.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)