hello all,
I set the grid in the right way and visualize the data correctly according to my needs. Now I want to make a change, when I insert a new record in the data entry form some values must already be defined, the field with value brand 'Apple' and so on. I enclose my code but I can not make it work well.
function add_scheda($data)
{
$id_user = $_SESSION['id_user'];
["marca"]}','{$data["params"]["modello"]}')");
mysql_query("INSERT INTO riparazioni VALUES (null, $id_user, 'MARCA', 'MODELLO')");
}
2 Answers
Your Answer