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 gkittelson 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. rgpmedia

    help with checkbox form data to mysql

    hey there I tried you form parse code and get a 500 error, Premature end of script headers, where in the code is it not complete? Thanks sub form_parse { read(STDIN, $buffer,$ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair(@pairs){...
  2. rgpmedia

    help with checkbox form data to mysql

    hi again perluserpengo I used you suggestion for the parse and it still only outputs 1 value read(STDIN, $buffer,$ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair(@pairs){ ($name,$value)=split(/=/, $pair); $value =~ tr/+/ /; $value=~ s/%(..)/pack("c",hex($1))/ge...
  3. rgpmedia

    help with checkbox form data to mysql

    hy there perluserpengo Can you show a complete example of what you mean, I honeselty dont understand anything I am coding. I work from examples, see what others have done and tweak as best I can to get it tp produce the results I need. I only used $value =~ s/<!--(.|\n)*-->/ /g; $value =~...
  4. rgpmedia

    help with checkbox form data to mysql

    hello I am at my wits end. I am having trouble processing multi-select lists and checkboxes then sendind the form data to my sql database. it creates/updates the record fine. however it never post all the data from the checked boxes, uses only one. I am using perl/cgi scripts. Here is 1 sample...
  5. rgpmedia

    help with checkbox form data & sql

    I said no offense and I am sorry I didnt know there was a difference in sql.
  6. rgpmedia

    help with checkbox form data & sql

    excuse me yes there is. REPLACE is use in place of INSERT in instances where a record exists already containing the key which is "username". Why dont you stick to the problem I asked. The REPLACE isn not the problem, parsing all the checked boxes is the problem...
  7. rgpmedia

    help with checkbox form data & sql

    hello I am at my wits end. I am having trouble processing multi-select lists and checkboxes then sendind the form data to my sql database. it creates/updates the record fine. however it never post all the data from the checked boxes, uses only one. I am using perl because I dont know any php...

Part and Inventory Search

Back
Top