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());}

What is not working ? Do you see an error ? Post the query as it is echoed (line 23).

Member Avatar for rajarajan2017
// 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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.