mysql_insert_id() is causing an error:
Warning: mysql_insert_id() [function.mysql-insert-id]: Access denied for user ''@'localhost' (using password: NO) in C:\inetpub\wwwroot....
Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in C:\inetpub\wwwroot\.......
Should I be moving to mysqli? Does webassist support this? How do I do this without openning a new connection?