Important question, involving naming things

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Mythic Fr0st
Forum Contributor
Posts: 137
Joined: Sat Dec 02, 2006 3:23 am
Contact:

Important question, involving naming things

Post by Mythic Fr0st »

now,

well, when I name something say text box,

on my signup page, I have 1 box named username, the other 2 are password1 and password2

if I have another page (login) if I named the boxes there username and the password box password1 would it cause problems ?
Flamie
Forum Contributor
Posts: 166
Joined: Mon Mar 01, 2004 3:19 pm

Post by Flamie »

nope, this isnt related to database or anything.
Just remember what you named them when you're going to code the script that handles this particular form.
But personally I would suggest you keep consistent with your naming, not change all the time or you will get confused by your own code.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

This thread moved to Miscellaneous until a more suitable forum can be identified.
Post Reply