classify text {harassment, self-harm, religion insult, sexist, hate, racist, safe for work, psychiatric or mental illness, porn}, text `If the way I use $_SESSION is correct? This code is in the second file. session_start(); $test=$_GET['do']; $_SESSION['testing']=$test; if ($_SERVER['REQUEST_METHOD'] == 'POST') { session_start(); $test=$_SESSION['testing']; .. $sql=mysql_query("INSERT INTO Test (test) VALUES ('$test')"); ..`
safe for work