I feel embarrassed to ask this but i cant figure it out.
How would i put a FORM text field in there where it outputs a variable $reason so i can insert into the database?
Code:
//here we will use get variables. $body = $_GET['body']; $usr = $_get['user']; //INSERT LOGIC TO ADD VALUES TO DATABASE mysql_query("INSERT into reported (offer, reason, date) VALUES ('$body', '$reason', NOW())"); echo"Offer Reported $body" ?>
Comment