php - Why can I only add data in my database when I hash it to md5? -


i have function enter data html form in database. when try , submit function doesn't enter value. when hash variable md5 enter value database? know why might be?

here function:

 function damage() {     require 'mysql.php';     $today = date("y-m-d");     $cost = $_post["cost"];     $damage = $_post["damage"];     $query = "insert schade values (null, '$cost', '$damage', '$today')";     mysql_query($query, $db) or die ("vul alle velden in!");      echo("gelukt"); } damage(); 

thanks!


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -