Results 1 to 4 of 4

Thread: PHP, Perl, MySQL, C++.. I have myself in a bind here!!!!

  1. #1
    Guest

    Unhappy

    First of all,
    I have a really good memory if I want to remember things that I want to remember......

    <that didn't even make sense to me!>

    so I can learn a lot of stuff at one time, and i only get partially confused!!! yay!!!


    I have really taken a liking to PHP,
    but I am not actually very sure on how to make a connection to a MySQL DB, I also need to know how to print a certain field to a page...

    Code:
    <?php
    //some kind of loop starts here
    for each whatever //is there a for each loop in PHP??
    echo fieldname;
    //stop the loop somehow
    ?>
    Ok, I know it is going to be something similar to that...
    but I am not sure...
    also how to I retrieve the querystring, and execute a line of SQL?

    now, for the Perl question
    "via a hash, you can add data to the DBM database.... etc"
    that was from one of my books,
    what is an DBM database?
    is it a certain kind of DB, or is it a certain way to connect to one?

    Can somebody explain to me how to connect to a MySQL database in Perl if that is possible.

    and for the C++ question,

    I am completely lost in C++ CGI programming...
    can somebody give me some links or something to a good source of examples, tutorials etc..?


    Thanks a lot!!

    PS:
    the reason I am "Rushing" to learn all this, is I am registering a domain soon, at a kick-ass host... they allow access to the C++ compiler, you can use perl, mysql, php, etc etc, 300mb, unlimited transfer, etc, etc...... all for $31 setup, and $20 a month afterward

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    I recomend this site to any one that is interested in web development, especially PHP and MySQL. They have great tutorials and documentation.

    Gl Dennis,
    D!m
    Dim

  3. #3
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425
    Also check out

    http://php.resourceindex.com

    which has loads of readymade php stuff.

    and http://www.resourceindex.com which has loads of CGI stuff, and a section on C++ CGI.

  4. #4
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    And don't forget to print out all the documentation from The PHP site!! Last time I did, it was somewhere in the region of 600+ pages I believe

    Tip: get your dad or someone else you know to do it at work
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width