December 21, 201213 yr Hello everyone i have a little problem in PHP i created a page, named Cmup.php for example and i added a form in which the Action="Cmup.php" i added few textboxes and few IFs the IFs check if : the text in the input is numeric, if it's not it displays and error message telling the person to enter a valid input and other things. Now if i used Cmup.php as action everything would work just fine the only problem is, that i wanted to use another page for action, namely Cmup2.php i did and it worked, however it didn't check for any of the 'if' conditions, it simply executed I want it to work in this kind of way for exemple : if the input entered in textbox1 : is not a numeric, it displays the message " invalid input " and stays on Cmup.php if the input entered IS a numeric, it displays the results in Cmup2.php i hope i was able to explain what i am trying to do thanks in advance
Create an account or sign in to comment