PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Is it possible to make MySQL return a RecordSet when INSERTing data into a table.
For example:
2 data fields - ID (autoincrement int), name (varchar)
Lets say, I execute "INSERT INTO TABLE (name) VALUES ('Evan');"
However, now I must say "SELECT ID FROM TABLE WHERE name='Evan';" in order to find out what ID value was assigned to the new name entry. And if another 'Evan' has been entered into the table, it gets even more complex.
Does anyone know of a way to get MySQL to return a RecordSet based on what was just inserted into the table?
MSDN provides sample code for file-upload in ASP/VBscript.
You can't imagine how slow it is
But mail support is available. You have to use some COM-Objects but they are quite charming - a little bit overkill for a simple "Done." mail but handy if you have to create more complex mails