Posted by .:[ ikciu ]:. on 10/17/06 20:46
Hmm Breklin <breklin@sbcglobal.net> wrote:
> Run a select statement using some identifiable value in your form to
> check for duplicates. Perhaps the Name of the item or your product
> code, etc.
NOPE, why no1 trust me?
make filed unique in db,
id is not importan - use autoincrement
on duplicate entry make error handler fo it and just do what you want
THIS IS THE BEST SOLUTION
think what you want
EOT
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl
2be || !2be $this => mysql_query();
[Back to original message]
|