|
Posted by Steve on 10/17/06 17:14
".:[ ikciu ]:." <no@mail.com> wrote in message
news:eh3195$j3n$1@news.dialog.net.pl...
| Hmm Steve <no.one@example.com> wrote:
| > who cares about the casting to INT or backslashing a number?
|
| Pfffff ? what if some1 will typed not a number value in field which should
| have a number? you won't check it?
i NEVER said that. you can 'what if' that one all you like...it has NOTHING
to do with THIS specific question/problem. what i did say is that PRODUCT
ID's are RARELY INTEGERS so you bringing up the whole "you're stupid if you
take ID from user input" is not only insulting, but moronic. it also has
nothing to do with the problem at hand. your steps in that direction only
take the op further from understanding what a correct answer should look
like. it is a mute point.
| > question was, 'how can i tell if a record as already been added based
| > on an existing id?' FURTHER, if you ever did consulting work, it is
| > *common* that the product id **is set manually** and you have NO
| > control over whether a db assigns is - whether it should or should
|
| why not allow db to set id automaticly?
toyota, nabisco, burlington northern, fischer-price, the military...all have
products who have ids both internal and external. NONE OF WHICH ARE
INTEGERS. again, i am speaking from experience. i have done work FOR ALL OF
THEM. their product id's look more like a car's license plate...a
combination of letters and numbers.
why not allow db to set id automatically? BECAUSE THEY RARELY ARE INTEGERS.
even if you do put an autoincrementing id on a product table, you will
necessarily be using the PRODUCT ID of the manufacturer to lookup and
display/edit data related to it.
but again, this issue DOES NOT RELATE IN THE SLIGHTEST to the op's
problem/question.
| > you sir, are a troll.
|
| maybe yes and maybe not, i hate so simple question which post lazy ppl who
| won't try to search it in M or just in google
now you're offering a red-herring. the OP is new to php. if you HATE it,
don't respond to it! NO ONE ASKED YOU TO!!! either way, HER question is not
exactly one right out of the manual and requires showing how to put many
functions together to reach a goal...NOT "how does function x work?"
| > this is not my job. i have a couple of free days while my code is
| > being tested and implemented by others on my team. it is a much
| > needed break.
|
| sounds nice
and? i'd have expected your response to be a little more thought out since
you threw out the topic in the first place.
| > CORRECT when compared to such an 'authored' viewpoint. the difference
| > and most important thing to do is to listen and evaluate what is
| > being offered. you have failed to do either and maintain your own
| > inexperienced oppinion of things rather than someone elses who just
| > may have been around the block a few more times than you. you are
| > short-changing your own learning development.
|
| hmm this is only your opinion, every day brings something new, we learn
| everyday, if you think you already know everything you are wrong. i have
| good job (ofc i think i don't know everything), i earn much for me, but
you
| right my answers are stupid i make jokes many times and laught - im
fucking
| troll :)))))) i wont do it anymore, i can tell you - you are a guru and we
| stop this stupid war on words, this is waste of our time, or we can
continue
| it ..... feel free to do what you want :)
i realize my oppinion is my own. what you fail to recognize it that it
*might* be more informed than yours...your signal to tune in and listen.
i'm glad, although amazed, that you have a job...especially if it IS
programming.
i have only EVER said your solution(s) are not the most maintainable or
efficient.
i do tend to make fun of you the more you begin to sound daft, which is
often.
yes, you are a troll. your FIRST response the THIS op was that SHE was
stupid. i can look in your other threads and post your troll-ish behaviour
here if that will bring the point home a little more clearly for you.
i'm no guru...but thanks for the compliment. as for the war 'on' words. lol.
i've been firing depleted uranium and you've only offered BB's.
btw, what country did you say you were from? the one wher LINDA is a MAN'S
name...roflmfao!
Navigation:
[Reply to this message]
|