hi all
if in mysql i wrote this...
$query=mysql_query("insert into table1 (name,gender) values ('$name','$gender')"
or die ("could not select"
;
$profileid=mysql_insert_id();
but now i'm using postgresql so what is the similar code in postgresql especially the mysql_insert_id().
if in mysql i wrote this...
$query=mysql_query("insert into table1 (name,gender) values ('$name','$gender')"
$profileid=mysql_insert_id();
but now i'm using postgresql so what is the similar code in postgresql especially the mysql_insert_id().