I have created my own web site in PHP. I hav member login function also. For login function i have to create a table of member info in the database of web hosting company(my hosting is provided by GoDaddy.com) and then access mySql database.
>> how can I create the table in my hosting server??
my current code is--
<?php
$host="localhost";
// Host name ??what will be my host??
$username=""; // Mysql username
$password=""; // Mysql password
$db_name="test"; // Database name
$tbl_name="members"; // Table name
// Connect to server and select databse.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");`