-   Linux - Software (
-   -   "How to connect to mysql databases;" (

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


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 the end

chrism01 03-24-2010 02:52 AM


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

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