[Solved] Insert data in mysql colum with spaces with php

why dont you use the sql error ? so you can see what the msitake is . try this mysql_query(“INSERT INTO bestellingen ($qw1) VALUES ($qw2)”) or die(mysql_error()); use backticks around this also `ORDER DATE` Note: this ` is not same as this ‘ try this $qw2 = $vnaam .’,’.$anaam .’,’.$straat.’,’. $code.’,’. $geboorte.’,’. $tel.’, ‘.$email.’, ‘.$dateandhour … Read more

[Solved] T-SQL INSERT INTO disabling Constraints check

Constraint is on the table not a single statement Kind of ugly but Put it in a transaction and take a tablock begin transaction ALTER TABLE branchOffice NOCHECK CONSTRAINT ALL insert into branchOffice with (tablock) — Re-enable the constraints on a table ALTER TABLE branchOffice WITH CHECK CHECK CONSTRAINT ALL commit transation; 3 solved T-SQL … Read more