PHP Classes

mssql_insert_id is not a php function

Recommend this page to a friend!

      PHP-MYSQL-MSSQL  >  All threads  >  mssql_insert_id is not a php function  >  (Un) Subscribe thread alerts  
Subject:mssql_insert_id is not a php function
Summary:Just a correction about a function that does not exist in php
Messages:1
Author:Martin Fasani
Date:2005-08-18 14:27:01
 

  1. mssql_insert_id is not a php function   Reply   Report abuse  
Picture of Martin Fasani Martin Fasani - 2005-08-18 14:27:01
Hello Henryi,

I liked a lot your class.

One pointer that I wanted to correct is this:

mssql_insert_id



mssql_insert_id is not a php function. I will make a wrapper for it and send it your way.
Depending on the php version and environment it's possible to use @@INSERTID / on an intranet with very low traffic maybe a MAX(id) can be done as well.

I made an interbase class:
phpclasses.org/browse/package/2353. ...

It will be nice to recode it and addapt it to be another DB available in your class :)
Best regards,
MARTIN