Hey jonina. Yeh.... i kinda missed you. I guess Alex did too
Ok, i know that you know how to do such things using MySQL. With Oracle is almost the same thing.
Of course, php functions for that are different.
Not sure if you're facing some problem, but you can get easy with the examples at the manual
Somehow i can't/couldn't post the code for you so i've emailed it to you (hotmail account).
Check it and give it a try... hope it helps.