On Sun, Jun 8, 2014 at 3:10 PM, Albert Coder <eralbert9...@gmail.com> wrote:

> PS: An error might be displayed if you use a Material Id which is
> already in the database as it is the primary key and it cannot be
> replicated. Use random Material Id(or refer to the backend first from
> phpmyadmin).

Don't let the user to fill material ID. Use auto increment attribute
of MySQL to generate unique ID for each new material entry
automatically.
-- 
Harmanpreet Singh
Blog: http://singhharman.wordpress.com/

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to