0

IT NOT WORKING :((

$igletuire="INSERT INTO
                                valoare_lucrari
                                (id_ofertant,
                                id_manopera,
                                id_camera
                                Denumire_camera,
                                um,
                                Cantitate,
                                Pret_manopera,
                                Total
                                )VALUES(
                        '" . $row['id_ofertant']. "',
                        '" . $row['id_manopera'] . "',
                        '" . $row['id_camera'] . "',
                        '" . $row['Denumire_camera'] . "',
                        '" . $row['um'] . "',
                        '" . $row['Sgletuire'] . "',
                        '" . $row['Pret_manopera'] . "',
                        '" . $Total_gletuire . "')";
                         
                         if (isset($igletuire) &&
                           !empty($igletuire)) {
                         echo"<!--" . $igletuire. "-->";
                  $result=mysql_query($igletuire)
                 or die ("invalid query igletuire:". mysql_error());}
3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by rajarajan07
0
// create query 
    $query = "INSERT INTO symbols (country, animal) VALUES ('$country', '$animal')"; 
// execute query 
    $result = mysql_query($query) or die ("Error in query: $query. ".mysql_error());

What error you getting?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.