Hi Andreas,
Vincent is right .. you should use a sequence. Oracle has many extra bits and bobs.
You can create a sequence in Oracle and tell oracle exactly what number you want the sequence to begin with.
CREATE SEQUENCE [schema.]sequence
[INCREMENT BY integer]
[START WITH integer]
[MAXVALUE integer | NOMAXVALUE]
[MINVALUE integer | !!under!!NOMINVALUE]
[CYCLE | NOCYCLE]
[CACHE integer | NOCACHE]
[ORDER | !!under!!NOORDER]
Using it in PHP
$sel_seq_sql="SELECT Sequence_name.nextval FROM DUAL";
Just a quick explanation of the SQL above for you. The DUAL table is a dummy table in Oralce it contains rubbish and has just one column. You could right.
SELECT andreas from DUAL;
and it would return 'andreas'
The 'sequence_name.nextval' is thename you gave to your sequence and telling Oralce to take the next value in the sequence.
You will find some info on Oracle and PHP at this URL
http://php.net/manual/en/ref.oracle.php
Hope this helps!!
Maeve