in reply to SQL Troubles

Not too familiar with MySQL. I use postgreSQL. In my programming I use the "oid" to access the data that I need. In postgres a new "oid" is generated for each row INSERTed and is a completely original reference. Is there anything like this for MySQL? Perhaps you could try a method like that.