You are here: Re: on input form showing error message for duplicate entry. « All PHP « IT news, forums, messages
Re: on input form showing error message for duplicate entry.

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация