variable
Chat with our AI personalities
4p - 9 > 15
Better if you use javascript or another scripting language to analyse what is sent to the server in the first place. Most of the browsers support javascript.Suppose there is an input type of text of the simple html formName:Age : // The button below makes sure that client side validation is done otherwise it doesn't send data to servers // Here the "return checkData()" forces the client-side validation to occur before sending it to serverfunction checkData(){var char = /^[a-zA-Z]+$/;var num= /^[0-9]+$/;var name = document.getElementById("name");var age = document.getElementById("age");if(name.value==""name.value.match(num)){alert("Namespace cannot contain numericals!!");return false;}else if(age.value==""age.value.match(char)){alert("Age cannot be empty or contain characters!!");return false;}else{form1.form.submit();return true;}}// The neat little code tells if javascript is enabled/disabled in browserYour browser doesn't support javascriptMost of things would be easy this way but alas things aren't so easy. You also need to validate data on the server side using echo statements & control loops before finally posting data in mysql table
Better if you use javascript or another scripting language to analyse what is sent to the server in the first place. Most of the browsers support javascript.Suppose there is an input type of text of the simple html formName:Age : // The button below makes sure that client side validation is done otherwise it doesn't send data to servers // Here the "return checkData()" forces the client-side validation to occur before sending it to serverfunction checkData(){var char = /^[a-zA-Z]+$/;var num= /^[0-9]+$/;var name = document.getElementById("name");var age = document.getElementById("age");if(name.value==""name.value.match(num)){alert("Namespace cannot contain numericals!!");return false;}else if(age.value==""age.value.match(char)){alert("Age cannot be empty or contain characters!!");return false;}else{form1.form.submit();return true;}}// The neat little code tells if javascript is enabled/disabled in browserYour browser doesn't support javascriptMost of things would be easy this way but alas things aren't so easy. You also need to validate data on the server side using echo statements & control loops before finally posting data in mysql table
If p = 50 of q then q is 2% of p.
Suppose not. Let p be prime and n = Sqrt[p]. Since p is an integer, if n is rational, then n is also an integer. So we have n.n = p. But since p is prime, only 1 and p divide p. -><- therefore n must not be rational