Merhaba eğer doğru anladıysam sorunuzu, incelemenizi öneririm..

https://www.w3schools.in/php-script/...sing-database/