hi,
when we fetch data from database, we use these line.
include("connection.php");
connect("databasename");
$qry="select * from table1";
$rs=mysql_query($qry);
while($row=mysql_fetch_row($rs))
{
echo "$row[0] $row[1] ....";
}
Important: when we insert a row in a database, then above 3 lines are same.
include("connection.php");
connect("databasename");
$qry="insert into table1 values(1,'katherine','Computer Science')";
***********what will be the next line to add this column in the database.
Thans, Waiting for ur reply.