[Typo3-dev] mysql_connect,	mysql_affected_rows and mysql_insert_id in same context in multi-user	environment?
    Dennis Petersen 
    fessor at software.dk
       
    Mon Jul 28 21:41:40 CEST 2003
    
    
  
Sorry - had a problem in my program that I forgot to pull out...
I was experimenting with these... but this is not the way to ensure the
context is the same for all of them...
>   } else if (mysql_affected_rows($res) > 0) {
>    $returnVal[0] = mysql_insert_id($res);
It should of course be:
    } else if (mysql_affected_rows($res) > 0) {
And the other:
    $returnVal[0] = mysql_insert_id($res);
Sorry for the misleading question..
Sincerely,
Dennis Petersen (fessorman)
    
    
More information about the TYPO3-dev
mailing list