Answers for "php select values sql"

CSS
6

php select option

// Page containing a form:
<form action="myaction.php" method="post">
 <select name="fruit">
    <option value="Apple">Apple</option>
    <option value="Banana">Banana</option>
 </select>  
 <input type="submit" value="Submit">
</form>

// myaction.php
Hello <?php echo htmlspecialchars($_POST['fruit']); ?>
Posted by: Guest on June-20-2021
0

php + get sql query

echo $select->__toString();
Posted by: Guest on June-10-2020

Browse Popular Code Answers by Language