Is there an sql command that will get a field from the last record entered into a table?
Thanks Chris
maybe this way
... // INSERT stuff ... $newquery = "SELECT field FROM table WHERE id='" . mysql_insert_id() . "'"; // mysql_query() etc