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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Extension

  1. Extension

    Pattern Matching Expression (HTML tag)

    Thanks again dkyrtata Everything is working fine. Thank you again for the help. Really appreciated.
  2. Extension

    Pattern Matching Expression (HTML tag)

    Thanks again dkyrtata for the help. I just realized my last post wasn't really accurate. When I said I would like to only accept <input> and <select>, I didn't tell you there's could be some stuff before and after the name="xxx". Example: <input type="text" name="state" size="32"...
  3. Extension

    Pattern Matching Expression (HTML tag)

    Thanks a lot dkyrtata Really appreciated. I really have to improve my RegEx skills. How complicated to make the RegEx only accept <input name="xxxx"> or <select name="xxxx">. This way, it would ignore any other tags with "name" in it, such as <meta name="xxxx">. Thanks again.
  4. Extension

    Pattern Matching Expression (HTML tag)

    Thank you dkyrtata for the help. Really appreciated. Your Regex does work but the HTML content I'm trying to process has many <> tags in it. What I'm trying to do is to "echo" the value of the following variables (could be more variables) in the HTML content. Here are the variables to...
  5. Extension

    Pattern Matching Expression (HTML tag)

    I need some help to come up with a pattern matching expression. I need to process some HTML content and change one specific HTML tag: <input> So I open the HTML file and place the content into an array. This is part of the array (HTML content) I need to process. So I want to change this...
  6. Extension

    Print array with comma separating elements

    Thanks to both of you for the help. Really appreciated.
  7. Extension

    Print array with comma separating elements

    Hi, I'm trying to find a simple way to print an array with a comma separating each element. But a need a way to apply "styles" specific to each element; <span class="{style}"> before, and </span> after each element. Is it possible to use the "print join" and still be able to apply specific...
  8. Extension

    Table joining (w/ sub-query)

    PWise Thanks a lot for the help and the quick reply. Really appreciated !!! Your query works perfectly. MajP Thanks for the quick reply.
  9. Extension

    Table joining (w/ sub-query)

    Hi, I need some help with a fairly simple query. Here's all the details : Note: This is not the actual data. This sample data will make it easier to explain. Table: Course ______________________________________ ID_Course | Name 20 | Math 21 | Chemistry 22 | Arts 23 | History 25 |...
  10. Extension

    Dynamic form variables (_POST)

    Thanks to everyone for the help. tsuji: This is exactly what I was looking for. Thanks.
  11. Extension

    Dynamic form variables (_POST)

    Hi, I need to loop through all the records in an XML file and check if a specific record (user_id) exist in the form submitted. The form field names match the user_id from the XML file. I assume it's a stupid error but when I execute the script, I get an "Illegal offset" error. $users =...
  12. Extension

    Perl Error Handling

    That's what I'm doing for files but I'm looking for something that will cover syntax errors, missing modules/subroutines. Thanks again
  13. Extension

    Perl Error Handling

    Hi, I'm currently Carp for error handling on my development server. I like the fataltobrowser subroutine for debugging. Now I'm looking for a routine/sub-routine that would handle errors in production. I simply want to display a HTML message if there's an error ("out of service" type of...
  14. Extension

    Populate Hash of Arrays (Relationship)

    Yeah I know (right now I'm testing using Alpha data with "cmp"). But my issue is happening because I'm storing the sorting "statement" in a sub-routine.
  15. Extension

    Populate Hash of Arrays (Relationship)

    Kevin: Yes.. That was changed. But it didn't fix the problem. When I change this # Third Level for my $records (sort sortHash keys %{ $userList{$Level2}{$Level3} }) { #### } to this # Third Level for my $records (sort { $userList{$Level2}{$Level3}{$a}[2] cmp...

Part and Inventory Search

Back
Top