Computer Science, asked by harshinimanivannan1, 5 months ago

<?php

$link = mysqli_connect("localhost", "root", "", "company");


if($link === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}


$id = mysqli_real_escape_string($link, $_REQUEST['id']);
$company_name = mysqli_real_escape_string($link, $_REQUEST['company_name']);
$company_address = mysqli_real_escape_string($link, $_REQUEST['company_address']);
$flavour_name= mysqli_real_escape_string($link, $_REQUEST['flavour_name']);
$ratings = mysqli_real_escape_string($link, $_REQUEST['ratings']);

$sql = "INSERT INTO biscuit(id,company_name, company_address,flavour_name,ratings) VALUES ('$id','$company_name', '$company_address','$flavour_name', '$ratings')";
if(mysqli_query($link, $sql)){
echo "Records added successfully.";
} else{
echo "ERROR: Could not able to execute $sql. " . mysqli_error($link);
}


mysqli_close($link);
?>


everything was okay..in the output the values are inserted ... but it showing undefined index.. why ?

please help anybody...its very urgent... irrelevant answer will be reported

Attachments:

Answers

Answered by Anonymous
4

(a) Hydrochloric acid is prepared by this method.

(b) The reactants are sodium chloride and Sulphuric acid.

(c) The empty flask acts as Anti-Suction device. In case the back suction occurs the water will collect in it and will not reach the generating flask.

(d) The drying agent is Conc. Sulphuric acid. Sulphuric acid is chosen as drying agent because it does not react with HCl.

(e) The Inverted funnel :

Prevents or minimizes back suction of water.

Provides a large surface area for absorption of HCl gas.

Similar questions