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 TouchToneTommy 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 vasah20

  1. vasah20

    CSS Div Height

    Sorry, I thought there was a solution that handled both scenarios. The way it works is I have no idea how much (or how little) content will be in the gray box. I would like the gray box to always extend to the bottom of the page no matter what the height inside. I apologize for not providing...
  2. vasah20

    CSS Div Height

    BillyRay, that helps, but my question now is what if I want the gray box to go down to the bottom of the page if there isn't enough content? BabyJeffy, that helps too, but I'm trying to stay away from a table based layout. Thanks for the idea, though.
  3. vasah20

    CSS Div Height

    How can I make the background color of a div extend past the page fold? Example: -- <html> <head> <style> * { margin: 0px; padding: 0px; } #container { background-color: #ccc; clear: both; height: 100%; width: 50%; } </style> </head> <body> <div...
  4. vasah20

    document.formname.submit

    I have no idea why this doesn't work in MSIE. Is it because I'm trying to populate and submit the form from a text link? <head> ... <script type=&quot;text/javascript&quot; language=&quot;javascript&quot;> /** * submit the GET request through the filter form **/ function filterById(emailId)...
  5. vasah20

    getting a new value of $1

    The best is when I finally RTFM, isn't it? quotemeta is my friend. $ary1[0] = quotemeta($ary1[0]); Thanks all for help, hope this helps someone else.
  6. vasah20

    getting a new value of $1

    I've been able to pinpoint the error more, but I don't understand what's going on. This line isn't working: $line =~ s/$ary1[0]/$atTxt/g; Even though $line == $#@File2.html#$ and $ary1[0] == $#@File2.html#$ the switch isn't happening. Any ideas?
  7. vasah20

    getting a new value of $1

    Question 2: I can't get the function that the code snippet sits in to work. The recursion is breaking on me, as I can't get the $line to replace inside the if clause. sub parseFile { my ($page, $atTxt, $fullLine) = (&quot;&quot;,&quot;&quot;,&quot;&quot;); my @file = @_; foreach my...
  8. vasah20

    getting a new value of $1

    I'm a perl newbie, so i have a question. given the following code, how can I get the value of the second regex? foreach my $line(@file) { chomp($line); $line =~ /\$#(\@)(\w+)#\$/g; print &quot;$2\n&quot;; $line =~ /\$#(\?)(\w+)#$/g; print &quot;$2\n&quot;; } It's possible that...
  9. vasah20

    extends ArrayList

    Hi. I want to override one of the constructors in ArrayList, namely the public ArrayList(Collection c) { } constructor, but I want to perform some operations on the Collection before calling super. Is there anyway that I can do this? What I'm trying to accomplish is an ArrayList of files...
  10. vasah20

    nested xml

    hi all, I've got a very very slight grasp of the javax.xml.* and org.w3c.dom.* libraries, and from some tutorials and books I've been able to parse simple xml documents. But I need to parse a complex xml document, and I have no idea how to go about it. The document looks like this: <?xml...
  11. vasah20

    show status question

    Nothing crazy. I'm just trying to detect whenever an update is made to the database. Currently, I show the time the table was last 'updated' on a website. There's a slim chance that the user won't insert/delete any records, but in fact just update existing ones. I'd like to be able to detect...
  12. vasah20

    show status question

    Keyword search is down right now, so hopefully I'm not asking something often asked. When I issue a 'SHOW status FROM database LIKE 'table_name' does the update_time only show when the table had records deleted/inserted? I mean - does it detected when an UPDATE table SET... query is issued? If...
  13. vasah20

    Validation error

    Tried it, and I still get the same error.
  14. vasah20

    Validation error

    How come I can't execute the following query through an ADODB.Connection, but I have no problem when I cut and paste it into a query? This is the error I get: One or more values are prohibited by the validation rule 'Like &quot;???###&quot;' set for 'engagement.Client ID'. Enter a value that...
  15. vasah20

    Performing a function on Datasheet data

    Hey all - I was wondering if there was a way I could run the values through a function, and have those results display in the column. I just need to remove the last 27 characters in the column, and unfortunately I cannot just delete the extra data. As you can tell, I'm *extremely* new with...

Part and Inventory Search

Back
Top