Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jpmad4it2005

    simple HTML form & PHP query

    thanks, i fixed it. the problem is here <select name="title"> <option>Mr</option> <option>Mrs</option> <option>Miss</option> <option>Dr</option> </select> i didnt give each value a name. The following is correct: <select name="title"> <option value="Mr">Mr <option value="Mrs">Mrs <option...
  2. jpmad4it2005

    simple HTML form &amp; PHP query

    also a problem occurs because the drop down list is as follows: <select name="title"> <option>Mr</option> <option>Mrs</option> <option>Miss</option> <option>Dr</option> </select> which is different to : <form method="post" action="somescript.php"> <input type="text" name="foo"><br>...
  3. jpmad4it2005

    simple HTML form &amp; PHP query

    ok thanks. So for example i have the following snippet of code: mysql_query("INSERT INTO entry (date, title, forename) VALUES ('$date','$title','$forename')") or die("error"); If, for example, the field named title is of the drop-down list type in the HTML form, how would i attach the value...
  4. jpmad4it2005

    simple HTML form &amp; PHP query

    im sorry i don't understand that? sorry im a bit of a newbie. are you saying that the data will be in the $_POST variable? If so, how do io retrieve that information??
  5. jpmad4it2005

    simple HTML form &amp; PHP query

    hello i have a HTML form (which the user completes) that submits the information in it to a PHP script which then compiles the information and enters it into a database. It does this by using the POST method. The problem is not all the data is being passed to the Database. I have noticed that...

Part and Inventory Search

Back
Top