Posted by .:[ ikciu ]:. on 10/17/06 20:41
Hmm Steve <no.one@example.com> wrote:
> again, unless SHE is assigning product id's they will *rarely* be
> integers that can auto-increment. if the user is specifying the
> product id, then showing the user the failed sql error message is
> less than elegant. especially if she can look up the id first, before
> trying to perform the insert. i gave an example early in the thread
> of how all this can be handled without php thrown errors.
I CANT READ IT ANYMORE!!!! you are totaly .......... did you ever hear about
errorhandling?
when she will insert data INTO TABLE and error duplicate entry occured then
she can handle it and do what she wants - THIS IS SO SIMPLE BUT PERHAPS NOT
FOR YOU ... AUTOINCREMENT ROX
this is my EOT you are expirenced in teory only ....
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl
2be || !2be $this => mysql_query();
Navigation:
[Reply to this message]
|