PDA

Click to See Complete Forum and Search --> : PHP, Perl, MySQL, C++.. I have myself in a bind here!!!!


Sep 20th, 2000, 08:27 PM
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...


<?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... :confused:
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 :D

Dim
Sep 20th, 2000, 11:38 PM
I recomend this (http://www.devshed.com) site to any one that is interested in web development, especially PHP and MySQL. They have great tutorials and documentation.

Gl Dennis,
D!m

CyberSurfer
Sep 21st, 2000, 07:03 AM
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.

HarryW
Sep 21st, 2000, 11:06 PM
And don't forget to print out all the documentation from The PHP site (http://www.php.net)!! 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