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"...
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.
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...
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...
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...
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 |...
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 =...
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.