Weekly project updates

Dear Mr.Nguyen
I've done writing the code of the Server, web site and the Visual Basic simulation for the OTP Generator.

" Creat Table"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Database Table Creation Using PHP</title>


This file here shows you how to create tables using PHP. This is
approach is particularly useful if you are going to be creating several
tables and sometimes modify them

include the database connection script.

$connect=mysql_connect("localhost","root",) or die (mysql_error()); mysql_select_db("user") or die (mysql_error()); //Example of creating a table that holds a person's //details //*********1**************User********************************* $query="CREATE TABLE `pass` ( `id` int(11) NOT NULL auto_increment, `username` varchar(50) NOT NULL default '', `pass1` int(50) NOT NULL default '0', `gen` int(50) NOT NULL default '0', PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=4 ; "; $result=mysql_query($query,$connect) or die('Cannot Create User'); mysql_close(); print " DataBase created well" ; ?> ----------------------------------------------------------------------------- index.php [EasyPHP] - Web Local
"); print(""); } } } if ($bAuMoinsUnRepertoire == false) { print(""); print(""); } closedir($rep); clearstatcache(); ?>
      "); print("   "); print("$file"); print("
-  $noDir  -

------------------------------------------------------------------------------------------------------------- v.php UPLink - Student v 2.2d
Student Portal  Image: PebblesImage: PebblesImage: PebblesImage: Pebbles