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 SkipVought 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. jjack46

    Passing an array of checkbox flags to another page

    I've decided to use a drop down box with 3 options (Ok, NCR & Disq) then I can put the value of the one selected into an array. It looks good and works okay. Many thanks for your replies.
  2. jjack46

    Passing an array of checkbox flags to another page

    I've added some count code - $x = count($disqArray); echo "X equals: " . $x; and checked 3 of the boxes. The count is 0 it should be 20. If checkboxes only return a result if they are checked it should still be giving a count of 3. If I count the $plNumber array I get 20 which is correct...
  3. jjack46

    Passing an array of checkbox flags to another page

    I have a page where I enter updates to multiple records (up to a hundred) on the same page. The entries are put into an array which is passed by post to a processing page which uses PHP. This works okay for text box entries. However, I want to put a checkbox for each entry so I can pass a flag...
  4. jjack46

    Using more than one submit button

    The sites I looked were very inconsistent and confusing but I've worked it out now. Many thanks.
  5. jjack46

    Using more than one submit button

    I understand it is possible to use more than one submit button in a form, with different 'Name' or 'Value' attributes, in order to perform different functions on the next page visited. I have looked this up on the web but found conflicting ways of doing it. None of which seem to work. Basically...
  6. jjack46

    Populating multiple word string into Text Box value field

    That's it. Thank you very much. It's okay now. John
  7. jjack46

    Populating multiple word string into Text Box value field

    I bring back the address from the database and assign it to a variable before I echo the variable in the value attribute. $street = $row['Street']; This is from the database which is "125 Smith Street" echo "Street = " . $street. "\n"; //I did this to see what was coming back from the database...
  8. jjack46

    Populating multiple word string into Text Box value field

    I want to bring back records from a database into an HTML form and populate all the text boxes with values from the database. This is so I can alter the text then update it. This works perfectly ok where a text box is filled with a single word e.g. a surname. If however. I try to fill the value...
  9. jjack46

    Problem with "INSERT INTO"

    A silly mistake that I should have picked up. I've got it working now. Thanks very much.
  10. jjack46

    Problem with "INSERT INTO"

    I am a relative newbie, I have some programming experience in PHP and Mysql but haven't done much for a few years. I am writing a program that requires the user to input data. I have written the following "INSERT" queries and cannot understand why I get the results that I do. 1) This works in...

Part and Inventory Search

Back
Top