How to insert capital letters to Mysql?

In PHP/MySQL the mysql_insert_id returns the last insert id of the entire mysql database or the id from that one db connection made by the script?

  • When every user of my site interacts with the PHP scripts. Some thousand connections are made to the MySQL db. So the mysql_insert_id function returns the last insert id of the overall database made by many php db connections or it returns only the last insert of that particular db connection.

  • Answer:

    It returns the ID of the last executed query (usually 'INSERT') of that particular connection. http://nl.php.net/manual/en/function.mysql-insert-id.php

Giel Berkers at Quora Visit the source

Was this solution helpful to you?

Other answers

It's per-connection.

Toby Thain

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.