delete this topic please
i made a stupid mistake after looking over my code i made the input type being button instead of submit, i didn't realize that i had tped it until i looked over it once more and well it was that mistake and it should be working now. Oh how stupid small mistakes can be.