I am currently stuck at the following line:
$sqlupdatetb = "UPDATE Text SET Texts = '$text' WHERE '$datetb' = Date AND WHERE $_SESSION['PrID'] = PrID";
I cannot find the error. It should add the text into the DB field Text if the Date and PrID matches... but all I get is:
UPDATE Text SET Texts = 'DASDASD\r\nDAS\r\nS\r\nSDSDAS\r\ndasdasdas' WHERE '' = Date
Can someone please explain to me where the error is and what it is?