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
Post a Comment