求使用HTML+PHP+mysql创建用户并授权一个简单的项目

求网页高手做一个简单的查询的页面php+MySQL_百度知道
求网页高手做一个简单的查询的页面php+MySQL
输入mac地址就可以查到对应的ip地址,把ip和mac地址做一个数据库,所以希望做一个查询系统,做好了我可以再加!分不是问题。希望哪位高手帮下忙,做一个查询页面,一重做系统就有人就不知道ip了我们学校ip和mac地址绑定了了
提问者采纳
'form1& }
} , 'localhost&#39.it596.html" target="_blank">), `ip` CHAR( 30 ) NOT NULL ://&gt.com/html/10/category-catid-10; && &lt:';network'];&gt.'text& method=&搜索结果;){ echo 'ip&#39.2&#39.查询页面; id=&quot.it596:///!=&#39, `mac` CHAR( 30 ) NOT NULL ;;) { $res=mysql_query(&&#39:
<a href=";, 1);mac&submit&quot, FULLTEXT ( `mac`
) ) ENGINE = MYISAM
2; PHP学习的天地; &lt.插入数据?trim($_POST[&#39?&button&]);;input type=&quot?php $conn=mysql_connect(&#39; name=& value=&quot; 3;mac&quot.&SELECT * FROM `mac_ip_list` WHERE `mac`=&#39!&#39: INSERT INTO `network`; &#47.创建数据库 CREATE DATABASE `network` DEFAULT CHARACTER SET gbk COLLATE gbk_chinese_没有该 name=& }else{ echo &#39;];&#39;form id=&quot, `mac`) VALUES ( &#39;&#39; $mac=isset($_POST[&#39;]); mysql_select_db(&#39; name=&ip&#39;;mac&#39;post&quot.`mac_ip_list` ( `id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ;192.1;&quot.$rs[&#39;;; action=&mac&#39, &#39;提交&button&quot:&#39; if($rs[&#39; 对应的IP.$mac, $conn), &#39;ff-33-21-f4-44-f9&#39.168:&#39;form1&quot.`mac_ip_list` (`ip`;& $rs=mysql_fetch_array($res);); &#47.$&#39;&input type=& id=&quot!=&#39; mac的格式自定义有‘-’还是没有‘-’; if ($ &;;root&#39;form&gt: & CREATE TABLE `/html/10/category-catid-10
其他类似问题
为您推荐:
mysql的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁2251人阅读
可供学习的站点:一个简单的博客实现
上文是一个译文,其中的源代码在laravel4.2中已经无法使用,API函数有了一定的修改,请参考译文的原版blog
Laravel是一个典型的MVC架构(MODEL, VIEW, CONTROLLER),代码非常漂亮简介。
笔者根据相应的学习资料,打算自己写一个类&#20284;的博客,但实现的功能略有不同。
该项目计划完成的功能(暂定):
实现基本的用户的注册、登陆、邮箱验证功能。
每个用户可以发表以图片为内容的主题,可以描述题目和内容。
每个主题可以被任意多个用户评论。
管理员可以对用户、主题、评论进行操作和维护。
第一步(安装):
1、安装Laravel 4。具体步骤及命令参考
第二部(配置):
1.笔者使用的php环境是XAMPP,用mysql先建一个名为piclist的database,直接在XAMPP Control Panel点击MySQL的admin选项即可手动配置数据库相关的事项。
2.进入网站根目录,进入app/config。
#app.php修改如key,dubug选项,时区等配置
return array(
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
&#39;debug&#39; =& true,
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
| your application so that it is used when running Artisan tasks.
&#39;url&#39; =& &#39;http://localhost/&#39;,
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
| Here you may specify the default timezone for your application, which
| will be used by the PHP date and date-time functions. We have gone
| ahead and set this to a sensible default for you out of the box.
&#39;timezone&#39; =& &#39;Asia/Shanghai&#39;,
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
&#39;locale&#39; =& &#39;en&#39;,
|--------------------------------------------------------------------------
| Application Fallback Locale
|--------------------------------------------------------------------------
| The fallback locale determines the locale to use when the current one
| is not available. You may change the value to correspond to any of
| the language folders that are provided through your application.
&#39;fallback_locale&#39; =& &#39;en&#39;,
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
| This key is used by the Illuminate encrypter service and should be set
| to a random, 32 character string, otherwise these encrypted strings
| will not be safe. Please do this before deploying an application!
&#39;key&#39; =& &#39;Ov!WhEvJUCcoN!f3K6pQE7FzZJ$yDA#s&#39;,
&#39;cipher&#39; =& MCRYPT_RIJNDAEL_128,
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
| The service providers listed here will be automatically loaded on the
| request to your application. Feel free to add your own services to
| this array to grant expanded functionality to your applications.
&#39;providers&#39; =& array(
&#39;Illuminate\Foundation\Providers\ArtisanServiceProvider&#39;,
&#39;Illuminate\Auth\AuthServiceProvider&#39;,
&#39;Illuminate\Cache\CacheServiceProvider&#39;,
&#39;Illuminate\Session\CommandsServiceProvider&#39;,
&#39;Illuminate\Foundation\Providers\ConsoleSupportServiceProvider&#39;,
&#39;Illuminate\Routing\ControllerServiceProvider&#39;,
&#39;Illuminate\Cookie\CookieServiceProvider&#39;,
&#39;Illuminate\Database\DatabaseServiceProvider&#39;,
&#39;Illuminate\Encryption\EncryptionServiceProvider&#39;,
&#39;Illuminate\Filesystem\FilesystemServiceProvider&#39;,
&#39;Illuminate\Hashing\HashServiceProvider&#39;,
&#39;Illuminate\Html\HtmlServiceProvider&#39;,
&#39;Illuminate\Log\LogServiceProvider&#39;,
&#39;Illuminate\Mail\MailServiceProvider&#39;,
&#39;Illuminate\Database\MigrationServiceProvider&#39;,
&#39;Illuminate\Pagination\PaginationServiceProvider&#39;,
&#39;Illuminate\Queue\QueueServiceProvider&#39;,
&#39;Illuminate\Redis\RedisServiceProvider&#39;,
&#39;Illuminate\Remote\RemoteServiceProvider&#39;,
&#39;Illuminate\Auth\Reminders\ReminderServiceProvider&#39;,
&#39;Illuminate\Database\SeedServiceProvider&#39;,
&#39;Illuminate\Session\SessionServiceProvider&#39;,
&#39;Illuminate\Translation\TranslationServiceProvider&#39;,
&#39;Illuminate\Validation\ValidationServiceProvider&#39;,
&#39;Illuminate\View\ViewServiceProvider&#39;,
&#39;Illuminate\Workbench\WorkbenchServiceProvider&#39;,
|--------------------------------------------------------------------------
| Service Provider Manifest
|--------------------------------------------------------------------------
| The service provider manifest is used by Laravel to lazy load service
| providers which are not needed for each request, as well to keep a
| list of all of the services. Here, you may set its storage spot.
&#39;manifest&#39; =& storage_path().&#39;/meta&#39;,
|--------------------------------------------------------------------------
| Class Aliases
|--------------------------------------------------------------------------
| This array of class aliases will be registered when this application
| is started. However, feel free to register as many as you wish as
| the aliases are &lazy& loaded so they don&#39;t hinder performance.
&#39;aliases&#39; =& array(
&#39;App&#39;
=& &#39;Illuminate\Support\Facades\App&#39;,
&#39;Artisan&#39;
=& &#39;Illuminate\Support\Facades\Artisan&#39;,
&#39;Auth&#39;
=& &#39;Illuminate\Support\Facades\Auth&#39;,
&#39;Blade&#39;
=& &#39;Illuminate\Support\Facades\Blade&#39;,
&#39;Cache&#39;
=& &#39;Illuminate\Support\Facades\Cache&#39;,
&#39;ClassLoader&#39;
=& &#39;Illuminate\Support\ClassLoader&#39;,
&#39;Config&#39;
=& &#39;Illuminate\Support\Facades\Config&#39;,
&#39;Controller&#39;
=& &#39;Illuminate\Routing\Controller&#39;,
&#39;Cookie&#39;
=& &#39;Illuminate\Support\Facades\Cookie&#39;,
&#39;Crypt&#39;
=& &#39;Illuminate\Support\Facades\Crypt&#39;,
&#39;DB&#39;
=& &#39;Illuminate\Support\Facades\DB&#39;,
&#39;Eloquent&#39;
=& &#39;Illuminate\Database\Eloquent\Model&#39;,
&#39;Event&#39;
=& &#39;Illuminate\Support\Facades\Event&#39;,
&#39;File&#39;
=& &#39;Illuminate\Support\Facades\File&#39;,
&#39;Form&#39;
=& &#39;Illuminate\Support\Facades\Form&#39;,
&#39;Hash&#39;
=& &#39;Illuminate\Support\Facades\Hash&#39;,
&#39;HTML&#39;
=& &#39;Illuminate\Support\Facades\HTML&#39;,
&#39;Input&#39;
=& &#39;Illuminate\Support\Facades\Input&#39;,
&#39;Lang&#39;
=& &#39;Illuminate\Support\Facades\Lang&#39;,
&#39;Log&#39;
=& &#39;Illuminate\Support\Facades\Log&#39;,
&#39;Mail&#39;
=& &#39;Illuminate\Support\Facades\Mail&#39;,
&#39;Paginator&#39;
=& &#39;Illuminate\Support\Facades\Paginator&#39;,
&#39;Password&#39;
=& &#39;Illuminate\Support\Facades\Password&#39;,
&#39;Queue&#39;
=& &#39;Illuminate\Support\Facades\Queue&#39;,
&#39;Redirect&#39;
=& &#39;Illuminate\Support\Facades\Redirect&#39;,
&#39;Redis&#39;
=& &#39;Illuminate\Support\Facades\Redis&#39;,
&#39;Request&#39;
=& &#39;Illuminate\Support\Facades\Request&#39;,
&#39;Response&#39;
=& &#39;Illuminate\Support\Facades\Response&#39;,
&#39;Route&#39;
=& &#39;Illuminate\Support\Facades\Route&#39;,
&#39;Schema&#39;
=& &#39;Illuminate\Support\Facades\Schema&#39;,
&#39;Seeder&#39;
=& &#39;Illuminate\Database\Seeder&#39;,
&#39;Session&#39;
=& &#39;Illuminate\Support\Facades\Session&#39;,
&#39;SoftDeletingTrait&#39; =& &#39;Illuminate\Database\Eloquent\SoftDeletingTrait&#39;,
&#39;SSH&#39;
=& &#39;Illuminate\Support\Facades\SSH&#39;,
&#39;Str&#39;
=& &#39;Illuminate\Support\Str&#39;,
&#39;URL&#39;
=& &#39;Illuminate\Support\Facades\URL&#39;,
&#39;Validator&#39;
=& &#39;Illuminate\Support\Facades\Validator&#39;,
&#39;View&#39;
=& &#39;Illuminate\Support\Facades\View&#39;,
#database.php这里修改默认的数据库连接以及连接属性。这里选用mysql,以及默认的数据库是我们刚刚手动新建的piclist,用户名密码为自己mysql的配置,笔者的mysql仅为测试用,所以为无密码的root账户。
return array(
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
| By default, database results will be returned as instances of the PHP
| stdC however, you may desire to retrieve records in an
| array format for simplicity. Here you can tweak the fetch style.
&#39;fetch&#39; =& PDO::FETCH_CLASS,
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
| Here you may specify which of the database connections below you wish
| to use as your default connection for all database work. Of course
| you may use many connections at once using the Database library.
&#39;default&#39; =& &#39;mysql&#39;,
|--------------------------------------------------------------------------
| Database Connections
|--------------------------------------------------------------------------
| Here are each of the database connections setup for your application.
| Of course, examples of configuring each database platform that is
| supported by Laravel is shown below to make development simple.
| All database work in Laravel is done through the PHP PDO facilities
| so make sure you have the driver for your particular database of
| choice installed on your machine before you begin development.
&#39;connections&#39; =& array(
&#39;sqlite&#39; =& array(
&#39;driver&#39;
=& &#39;sqlite&#39;,
&#39;database&#39; =& __DIR__.&#39;/../database/production.sqlite&#39;,
&#39;prefix&#39;
=& &#39;&#39;,
&#39;mysql&#39; =& array(
&#39;driver&#39;
=& &#39;mysql&#39;,
&#39;host&#39;
=& &#39;localhost&#39;,
&#39;database&#39;
=& &#39;piclist&#39;,
&#39;username&#39;
=& &#39;root&#39;,
&#39;password&#39;
=& &#39;&#39;,
&#39;charset&#39;
=& &#39;utf8&#39;,
&#39;collation&#39; =& &#39;utf8_unicode_ci&#39;,
&#39;prefix&#39;
=& &#39;&#39;,
&#39;pgsql&#39; =& array(
&#39;driver&#39;
=& &#39;pgsql&#39;,
&#39;host&#39;
=& &#39;localhost&#39;,
&#39;database&#39; =& &#39;forge&#39;,
&#39;username&#39; =& &#39;forge&#39;,
&#39;password&#39; =& &#39;&#39;,
&#39;charset&#39;
=& &#39;utf8&#39;,
&#39;prefix&#39;
=& &#39;&#39;,
&#39;schema&#39;
=& &#39;public&#39;,
&#39;sqlsrv&#39; =& array(
&#39;driver&#39;
=& &#39;sqlsrv&#39;,
&#39;host&#39;
=& &#39;localhost&#39;,
&#39;database&#39; =& &#39;database&#39;,
&#39;username&#39; =& &#39;root&#39;,
&#39;password&#39; =& &#39;&#39;,
&#39;prefix&#39;
=& &#39;&#39;,
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
| This table keeps track of all the migrations that have already run for
| your application. Using this information, we can determine which of
| the migrations on disk haven&#39;t actually been run in the database.
&#39;migrations&#39; =& &#39;migrations&#39;,
|--------------------------------------------------------------------------
| Redis Databases
|--------------------------------------------------------------------------
| Redis is an open source, fast, and advanced key-value store that also
| provides a richer set of commands than a typical key-value systems
| such as APC or Memcached. Laravel makes it easy to dig right in.
&#39;redis&#39; =& array(
&#39;cluster&#39; =& false,
&#39;default&#39; =& array(
&#39;host&#39;
=& &#39;127.0.0.1&#39;,
&#39;port&#39;
&#39;database&#39; =& 0,
第三部(数据库建立):
关于数据库表的建立,这里不使用手动建立的方法了,laravel提供了强大的数据库版本管理功能,不但可以以php语言简单地实现数据库建表工作,还可以通过数据库迁移,明确了数据库版本更新的规则,给未来回滚或者重置提供了方法。
在cmd(windows系统下)中,运行php&artisan migrate:make
create_tablename_table,tablename是所要建立的表名,这里运行三个命令,我们的博客需要建立三张表:
&php artisan migrate:make create_users_table
&php artisan migrate:make create_pictures_table
&php artisan migrate:make create_comments_table
这时候进入app\database\migrations,会发现带上了时间戳和表名的三个php文件。
接下来,我们就要在这三个文件书写我们的建表规定,为了满足我们的需求,需要的建表语言如下:
1#......xxxx_xx_xx_xxxxxx_create_users_table.php这里定义我们要创建的用户数据表,数据库相关的内容都可以在laravel mannual中找到,多读文档对编写代码非常有帮助。
use Illuminate\Database\Schema\B
use Illuminate\Database\Migrations\M
class CreateUsersTable extends Migration {
* Run the migrations.
* @return void
public function up()
Schema::create(&#39;users&#39;, function (Blueprint $table) {
$table-&increments(&#39;id&#39;);
$table-&string(&#39;username&#39;);
$table-&string(&#39;password&#39;);
$table-&string(&#39;email&#39;);
$table-&string(&#39;remember_token&#39;);
$table-&timestamps();
* Reverse the migrations.
* @return void
public function down()
Schema::table(&#39;users&#39;, function (Blueprint $table) {
$table-&drop();
2#......xxxx_xx_xx_xxxxxx_create_pictures_table.php这里定义我们的图片表,图片是该博客的主内容,它由唯一一个用户所发,可被任意多个用户评论,$table-&binary()函数可以指定一个mysql中blob类型的项,用它可以存储图片数据(此处已修改,不直接存储图片到数据库,而是存图片的路径)。
当一个新图片被上传时,首先在服务端以时间戳和文件名为信息唯一创建一个图片文件,将它的路径存入数据库,放置了数据库端的大量读写。
图片作为一个主题,支持全局搜索,可以搜索标题或者描述中出现的词。
use Illuminate\Database\Schema\B
use Illuminate\Database\Migrations\M
class CreatePicturesTable extends Migration {
* Run the migrations.
* @return void
public function up()
Schema::create(&#39;pictures&#39;, function(Blueprint $table){
$table-&increments(&#39;id&#39;);
$table-&string(&#39;title&#39;);
$table-&text(&#39;description&#39;);
$table-&binary(&#39;image&#39;);
$table-&unsignedInteger(&#39;user_id&#39;);
$table-&unsignedInteger(&#39;comment_count&#39;);
$table-&timestamps();
$table-&engine = &#39;MyISAM&#39;;
DB::statement(&#39;ALTER TABLE pictures ADD FULLTEXT search(title, description)&#39;);
* Reverse the migrations.
* @return void
public function down()
Schema::table(&#39;pictures&#39;, function (Blueprint $table) {
$table-&dropIndex(&#39;search&#39;);
$table-&drop();
3#......xxxx_xx_xx_xxxxxx_create_comments_table.php这是我们的评论表单,它由唯一一个用户发出,评论在唯一一张图片下,设计相对比较简单。
use Illuminate\Database\Migrations\M
use Illuminate\Database\Schema\B
class CreateCommentsTable extends Migration
* Run the migrations.
* @return void
public function up()
Schema::create(&#39;comments&#39;, function (Blueprint $table) {
$table-&increments(&#39;id&#39;);
$table-&unsignedInteger(&#39;picture_id&#39;);
$table-&string(&#39;commenter&#39;);
$table-&string(&#39;email&#39;);
$table-&text(&#39;comment&#39;);
$table-&boolean(&#39;approved&#39;);
$table-&timestamps();
* Reverse the migrations.
* @return void
public function down()
Schema::drop(&#39;comments&#39;);
编辑并保存好这三个文件后,我们已经完成了对数据表创建的描述,接下来就要把这些描述应用在我们的MySQL数据库上了,在命令行输入:
php artisan migrate此时查看MySQL数据库,发现建立了三个数据表&#43;一个数据迁移表,分别是我们创建的网页需要的表,和一张表示我们数据库迁移记录的表。
(注:每当我们需要对数据库的结构进行改变,就可以使用artisan命令创建一个迁移文件,定义我们的迁移过程,比如新建属性,修改表名等等,然后应用迁移命令进行数据库结构的改变,这样的习惯有助于当我们需要回滚数据库的历史版本时,可以更方便地操作和维护,具体可以参看)
版权声明:本文为博主原创文章,未经博主允许不得转载。
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:51810次
排名:千里之外
原创:18篇
评论:30条
(2)(6)(7)(3)(1)扫描二维码用手机看文章求高人给一个用PHP+MySQL实现的简单的数据库查询功能的PHP和HTML代_php吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:56,299贴子:
求高人给一个用PHP+MySQL实现的简单的数据库查询功能的PHP和HTML代收藏
快试试吧,可以对自己使用挽尊卡咯~◆◆
求高人给一个用PHP+MySQL实现的简单的数据库查询功能的PHP和HTML代码,数据库已经做好,如下:drop database
create table GameSearch(&&&&
GameID int(4) NOT NULL auto_increment,&&&&
GameName varchar(50) NOT NULL,&&&&
GameType varchar(50) NOT NULL,&&&&
CompanyName varchar(50) NOT NULL,&&&&
ReleaseYear int,&&&&
GamePlatform varchar(50)NOT NULL,&&&&
Language varchar(20) NOT NULL,&&&&
PackageType varchar(50) NOT NULL,&&&&&
MediaType varchar(20) NOT NULL,&&&&&&&&&
GamePrice float,&&&&
PRIMARY KEY (GameID));&&
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Pro Evolution Soccer 2010','Sports','Konami','2009','PS3','Japanese','Lite','DVD','15.50');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Need For Speed 13','Sports','EA Sports','2010','PC','English','Deluxe','BlueRay','20.60');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Red Alert 3','RTS','EA Games','2009','XBOX360','English','Limited','DVD','25.50');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Air Combat X','AirFighting','Namco','2006','PSP','Japanese','Normal','CD','18.80');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Resident Evil 4','Adventure','Capcom','2008','PS2','Japanese','Normal','DVD','20.60');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Sword','RPG','Softstar','2005','PC','Chinese','Limited','CD','27.50');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('FIFA 2010','Sports','EA Sports','2009','PC','English','Lite','DVD','17.80');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Grand Theft Auto IV','Action','Rockstar Games','2009','XBOX360','English','Normal','BlueRay','30.40');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Super Street Fighter IV','Fighting','Capcom','2009','XBOX360','Japanese','Normal','DVD','16.80');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Silent Hill 5','Adventure','Konami','2010','PS3','English','Deluxe','DVD','29.80');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Just Dance','Action','Ubisoft','2008','Wii','French','Normal','CD','19.20');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('New Super Mario','Action','Nintendo','2008','Wii','Japanese','Deluxe','CD','12.50');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Loco Roco 2','Action','Sony','2008','PSP','Japanese','Normal','CD','14.50');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Monster Hunter 2','RPG','Capcom','2008','PSP','English','Deluxe','DVD','32.80');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Final Fantasy XIII','RPG','Square Enix','2009','PS3','Japanese','Lite','BlueRay','36.80');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('Battlefield2','Action','EA Games','2007','PS3','English','Deluxe','BlueRay','33.80');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,PackageType,MediaType,GamePrice) values ('The Legend of Zelda','Adventure','Nintendo','2005','DS','German','Deluxe','CD','18.50');
insert into GameSearch (GameName,GameType,CompanyName,ReleaseYear,GamePlatform,Language,
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或}

我要回帖

更多关于 mysql创建用户并授权 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信