Hello all.
How do I enter a constant value with an insert statement? The constant value in the below code being LOCATION.
define("LOCATION", "INVENTORY");
$query= "INSERT INTO nsi (orderid,location,address,city,state,zip, )
VALUES ( '',LOCATION,'$getline[address]','$getline[city]','$getline[state]','$getline[zip]')";
$result= mysql_query($query) or die(ErrorDB($realname));