Insert data from form

QuestionsInsert data from form
Daniele asked 7 years ago

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
Daniele answered 7 years ago

I have solved!

Abu Ghufran answered 7 years ago

Good to know it's resolved.

Your Answer

14 + 3 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!