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 John Tel 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. varig77

    How to properly populate an array?

    Thanks eewah.
  2. varig77

    How to properly populate an array?

    I'd like to know how to populate an array and access its elements anywhere in the script by just using the index of the array. What I am trying to do is to run a database query and populate an array with the results. It works OK if I access the elements within the while statement. However, my...
  3. varig77

    How to e-mail database query results?

    I encounter one problem when I execute the script. I receive several e-mails at once (one e-mail for every row the query returns). I was wondering if there is a way to overcome this problem.
  4. varig77

    How to e-mail database query results?

    Thank you very much for your help. This is exactly what I was looking for :)
  5. varig77

    How to e-mail database query results?

    Sorry, I am totally new to Perl, so please excuse my ignorance. Can I use the sendmail function inside of the while statement? For instance, can I do it like in the code below? I found that I cannot access the elemets of the array outside the while statement. while (@row =...
  6. varig77

    How to e-mail database query results?

    I would like to know how I can e-mail database query results. I currently use a similar script as below to display the results in HTML format. Thanks in advance for your help. #!/usr/bin/perl require "cgi-lib.pl"; use DBI; use CGI; use CGI::Carp qw(fatalsToBrowser); &ReadParse(*in); $DBH...

Part and Inventory Search

Back
Top