how insert dropdown value in data base with php
please tell me sir
Assign a name attribute to the select tag, a value attribute to each option tag, set the method to the submitting form and then read the matching array, for example, if you set the POST method, then you will have to read $_POST, here's an example:
<form method="post" action="destination.php">
<input type="submit" name="submit" value="submit" />
Now the receiving script (destination.php) can do:
# check if $_POST['color'] is available
# execute insert query here
Hello everyone. I have a string that looks like this
(Mango, fruits, and), (Maize, cereals, and), (Mango juice, beverages, and)
I would like to convert the above string using php ...
As a small business owner, it is difficult to understand where you are on the search engine result pages. SEO is complicated and it is constantly changing. Every company wants ...
I have a function that I need help with. The purpose of the function is to sort an array of objects by field. This function was using the PHP function ...