Mohammed,
I don't understand Your question? you do this well in this code.
BTW You must start a new thread here.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.