Re: [PHP-DB] How to do error feedback when adding to indexed table?

2003-08-25 Thread -{ Rene Brehmer }-
Sorry if I was being vague. But naturally, about half an hour after I posted this, I found a simple and fool-proof way to do what I wanted: Simply just have MySQL lookup the ID after all the other error checking was done, like this: if (! isset($error)) { // DB check to ensure number is

[PHP-DB] How to do error feedback when adding to indexed table?

2003-08-24 Thread -{ Rene Brehmer }-
I'm not sure how to explain this, I'm totally new to MySQL and SQL as a whole, this is my first ever code using SQL at all...so plz bare with me here... I'm working with PHP 4.2.3 and MySQL 4.something (not certain what version the end-server runs). For a game clan I'm in (MPE 1A in Earth:

Re: [PHP-DB] How to do error feedback when adding to indexed table?

2003-08-24 Thread Sebastian Haag
Rene, -{ Rene Brehmer }- said: I'm not sure how to explain this, I'm totally new to MySQL and SQL as a whole, this is my first ever code using SQL at all...so plz bare with me here... I'm working with PHP 4.2.3 and MySQL 4.something (not certain what version the end-server runs). For a