coolumanga
09-07-2011, 05:03 AM
hi i have question to insert record in to the table
this size is with 12" like this
$sqlstr = "INSERT INTO Cost_Tyre(internal,size,blackatb,blackbmx,whiteatb,whitebmx,ww,reflective,tyre_date,Tyre) VALUES('$internal','$size1','$blackatb','$blackbmx','$whiteatb','$whitebmx','$ww','$reflective','$ty re_date','$Tyre')" ;
echo $sqlstr;
$result1 = mysql_query($sqlstr);
when the print the result it shows
INSERT INTO Cost_Tyre(internal,size,blackatb,blackbmx,whiteatb,whitebmx,ww,reflective,tyre_date,Tyre,tyre_date) VALUES('11','12" ','4.24','','5.20','5.20','4.60','6.04','2011-09-01','2.46','2011-09-01')
hear my problem is data is not inserting to the table
plz help me to slove this problem
plzzzzzzz give me a sample code
this size is with 12" like this
$sqlstr = "INSERT INTO Cost_Tyre(internal,size,blackatb,blackbmx,whiteatb,whitebmx,ww,reflective,tyre_date,Tyre) VALUES('$internal','$size1','$blackatb','$blackbmx','$whiteatb','$whitebmx','$ww','$reflective','$ty re_date','$Tyre')" ;
echo $sqlstr;
$result1 = mysql_query($sqlstr);
when the print the result it shows
INSERT INTO Cost_Tyre(internal,size,blackatb,blackbmx,whiteatb,whitebmx,ww,reflective,tyre_date,Tyre,tyre_date) VALUES('11','12" ','4.24','','5.20','5.20','4.60','6.04','2011-09-01','2.46','2011-09-01')
hear my problem is data is not inserting to the table
plz help me to slove this problem
plzzzzzzz give me a sample code