LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "How to connect to mysql databases;" (https://www.linuxquestions.org/questions/linux-software-2/how-to-connect-to-mysql-databases%3B-797236/)

amritpalpathak 03-23-2010 05:24 AM

"How to connect to mysql databases;"
 
I have installed mysql ,php ,apache,phpmyadmin
i have create a forum on mysite check it on

"www.amritpalgne.hpage.com"

Now i have create a database with name login and then i create a table with name loginn ..After that in loginn table i create colums with name username (data type=varchar),and password(data type=int);
i want when someone entered username and password in my sql ,it goes to database and userconnect to next page as we generally do in orkut or other social sites;
I dont know how to connect with php with mysql and how to do it whole

pls help me to do it '

zhjim 03-23-2010 05:43 AM

Just do a "php mysql" in google and you should find decent tutorials to get you going. If not just add "tut" or "tutorial" to the google bar.

uhcafigdc 03-23-2010 06:07 PM

once upon a time http://www.phpmyadmin.net the end

chrism01 03-24-2010 02:52 AM

Incidentally,
Quote:

password(data type=int)
would be wrong unless you're going to force the users to use integers for passwords; you want varchar.

You're going to need http://dev.mysql.com/doc/refman/5.0/en/


All times are GMT -5. The time now is 12:32 PM.