Hi,
Can anybody tell me the difference between the two insertions:
$price=18.45;
INSERT INTO tbl (price) VALUES ($price);
INSERT INTO tbl (price) VALUES ('$price');
price is DECIMAL(10,2) in tbl.
Thanks.
Can anybody tell me the difference between the two insertions:
$price=18.45;
INSERT INTO tbl (price) VALUES ($price);
INSERT INTO tbl (price) VALUES ('$price');
price is DECIMAL(10,2) in tbl.
Thanks.
Comment