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 strongm 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. cradletoenslave

    I need two lists printed from a MySql database. Why doesn't this work?

    Oh my, I didn't even think about the password in the script! Thanks for the advice. Thanks for the link, I'll look into it.
  2. cradletoenslave

    I need two lists printed from a MySql database. Why doesn't this work?

    Wouldn't that just print what they typed in? I need everything printed that is in the MySql field.
  3. cradletoenslave

    I need two lists printed from a MySql database. Why doesn't this work?

    This part all works just fine. #!/usr/bin/perl -Tw require "/home/jaredmg/public_html/cgi-bin/formprocessor.cgi"; &ReadParse (*input); $name= $input{'name'}; $codeemail= $input{'email'}; use DBI; $dbh = DBI->connect("DBI:mysql:jaredmg_form:localhost","jaredmg_jaredmg","springer")...
  4. cradletoenslave

    I need two lists printed from a MySql database. Why doesn't this work?

    Sorry, I thought it was more straightforward than that. My bad. I'm using the DBI module. I don't get any error messages, interesting enough. It just won't display on the page. It displays the first names just fine but it won't print the email list. Weird huh? Have I supplied enough...
  5. cradletoenslave

    I need two lists printed from a MySql database. Why doesn't this work?

    while (my ($firstname) = $sth->fetchrow_array()) { print "$firstname<br>"; } $sth->finish(); while (my ($email) = $sth->fetchrow_array()) { print "$email<br>"; } $sth->finish();
  6. cradletoenslave

    HTML formatting of Perl variables

    On a small note for html attributes and formatting, I dug up an extremely useful site: bignosebird.com. They cover many of the elements and attributes. Also be careful when using html in perl. I don't know how many times I type a line like this: print "<table width=" and so on and forget...
  7. cradletoenslave

    Total newbie. Any suggestions on a good tutorial?

    (Assuming STFW means search the F'n web) Ouch. Geez, it's not like I didn't try it. I was just wondering if somebody hadn't seen one that was a little more to the point, I've looked up several tutorials and none seemed of any use. Either too complicated or so much obviousness it took getting...
  8. cradletoenslave

    Total newbie. Any suggestions on a good tutorial?

    I would like to learn how to use Mysql seeing as how it would be so extremely useful, especially since my databases have been printing information out to html tables. Yeah, not secure, and very unprofessional. Does anybody have some advice on a good online tutorial to look up? I know a little...
  9. cradletoenslave

    Problems with openWindow??

    Gotcha. Listen to them! I've gotten by okay, however BillyRayPreachersSon's got craploads more experience. Sorry if I misled anybody.
  10. cradletoenslave

    Problems with openWindow??

    ...This will give you the finger-as in refuse to work. <a href="whatever.com" onlick="alert("What\'s up?");">click here for an annoying popup</a> *semicolons are used in nearly all programming languages (javascript, PHP, perl, etc.) to end a statement. For the most part, you don't have to...
  11. cradletoenslave

    Making child window share info with parent window...

    Okay, thanks for the idea! I used your idea with another code and came up with something that worked out okay. I can't wait until I get broke into the feel of javascript, I'm still pretty new to it. Here's my code: <script language="javascript"> function passit(){...
  12. cradletoenslave

    Making child window share info with parent window...

    Okay, thanks cLFlaVA, I'll give it a shot. I understood the code part, but not your "imgainary questions" part! LOL Thanks for the info, it really helps. Nice to know another Cradle of Filth fan. I have a wide appreciation for any music with talent. I love the melodies that Cradle...
  13. cradletoenslave

    Making child window share info with parent window...

    I'm trying to create a form, and I want the client to be able to click a link to autofill in parts of the form. Any tips are greatly appreciated.
  14. cradletoenslave

    Got tie::file to work, but still having problems...

    I think it might. I'm seeing it create future complications though... I'm already seeing the problem that if I need to change something else in the script that is on a different line, it may not work due to the fact that too much information would create two lines, therefor throwing off the...
  15. cradletoenslave

    Got tie::file to work, but still having problems...

    ...me to call information from the html #document. I call the information with $input{'whatever #the name is within the html tag'}; &ReadParse(*input); $fname= $input{'fname'}; use Tie::File; tie @array, 'Tie::File', 'replies.cgi' or die "oops"; #This part opens replies.cgi and turns the...
  16. cradletoenslave

    Got tie::file to work, but still having problems...

    ...files and assigns them to a variable. So far, this is what the script kinda looks like: #!/usr/bin/perl require "formprocessor.cgi"; &ReadParse(*input); $fname= $input{'fname'}; use Tie::File; tie @array, 'Tie::File', 'replies.cgi' or die "oops"; $array[2] = "print \"$fname\"\;";"...
  17. cradletoenslave

    Got tie::file to work, but still having problems...

    Okay thanks! I'll mess around with it for a while.
  18. cradletoenslave

    Got tie::file to work, but still having problems...

    Also, with the tie::file, I get a really weird error on the file that I just appended. The server refuses to let me view it. The Chmod's are all okay, in fact I put it on 777 (overkill doesn't hurt at this point). The URL is correct, but the server still won't let me view it. When I look up...
  19. cradletoenslave

    Got tie::file to work, but still having problems...

    Well, I got it to work, but it's still not quite what I wanted. I got it write in the middle of the document, but I need it to append to the information that is already there. Think of a guestbook script. This would work, except it writes over the previous entry. What would be a good method...

Part and Inventory Search

Back
Top