Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 20th, 2012  |  syntax: None  |  size: 0.36 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. HTML : from select list need to add value to mysql
  2. <b>Priority</b><select><name = "priority" id="priority"><option>Low</option><option>Medium </option><option>High</option></select>
  3.        
  4. $priority = $_POST['priority'];
  5. $sql3= "INSERT INTO work (priority) VALUES ('$priority')";
  6.        
  7. <select><name = "priority" id="priority">
  8.        
  9. <select name="priority" id="priority">