Blog Archives | Page 15

Page 15/20...8...1213141516171819...

mysql_db_name

2009-06-23 09:25 / PHP / no comment / 22 views /

(PHP 4, PHP 5)获取数据库名称

声明

string mysql_db_name ( resource $result , int $row [, mixed $field ] )
在mysql_list_dbs()的返回结果中检索数据库名。

参数

result
函数m[......]

more…

mysql_data_seek

2009-06-21 18:15 / PHP / no comment / 25 views /

(PHP 4, PHP 5)移动内部结果指针

声明

bool mysql_data_seek ( resource $result , int $row_number )

mysql_data_seek()移动result变量所指的MySQL查询结果的内部指针到指定行。[......]

more…

google不提示关键词了?

2009-06-19 12:03 / Internet / 3 comments / 59 views /

google中国是否做了个变化,不提示关键词了?之前好像提示的吧?

google.com目前还提示关键词,语言设置成汉语也提示关键词,但是没有“性”了。语言设置成英语对“性”还有提示,对“sex”也提示。

我记得关键词提示的功能最先是在google.cn上推出,一段时间后go[......]

more…

通过饭否同步博客副标题

2009-06-18 18:07 / WordPress / 10 comments / 53 views /

由于description己由meta标签给出,首页再来一个description显得有些多余。新近做了一个更改,把饭否同步到了首页网站副标题。我本身有换QQ签名的习惯,这下子可以同步到我的博客上来了。是否独具个性?按照同样的习惯,我把javascript代码贴在下面:

1
&lt[......]

more…

使用自定义域为wordpress做SEO

2009-06-15 15:21 / WordPress / no comment / 59 views /

很多人使用All In One SEO插件来优化WordPress。这个插件主要的优化手段就是为每个文章和页面添加名为description和keywords的meta标签。其实完全可以不使用插件就做到这一点,只要在header.php中添加少量代码。

自定义域,英文叫Cu[......]

more…

dynamic_sidebar

2009-06-15 11:04 / PHP / 5 comments / 215 views /

声明

bool dynamic_sidebar ( [ mixed sidebar ] )
这个函数按顺序调用被激活的小工具里面的工具,输出边栏。如果你注册了多于一个边栏,你应该给出边栏的名字或者序号。如果输出成功则返回TRUE,失败则返回FALSE。

返回值应该用来决定是否显[......]

more…

register_sidebars

2009-06-15 10:39 / PHP / no comment / 39 views /

声明

<?php register_sidebars( $number, $args ); ?>

建立多个侧边栏(工具条)。

注册一个或多个侧边栏在当前主题中使用。多数主题只有一个侧边栏。由于以上原因,参数number是可选择的并且默认值是1。

args数组可以[......]

more…

mysql_create_db

2009-06-15 09:30 / PHP / no comment / 32 views /

(PHP 4, PHP 5) 建立一个MySQL数据库

声明

bool mysql_create_db ( string $database_name [, resource $link_identifier ] )

mysql_create_db() 尝试在link_iden[......]

more…

mysql_close

2009-06-12 16:09 / PHP / no comment / 28 views /

(PHP 4, PHP 5) 关闭MySQL连接

声明

bool mysql_close ([ resource $link_identifier ] )

关闭非持久性的MySQL连接。如果link_identifier未赋值,就将要关闭最后一个连接。

并不总是需要使用my[......]

more…

mysql_client_encoding

2009-06-11 17:47 / PHP / 5 comments / 10 views /

(PHP 4 >= 4.3.0, PHP 5) 返回字符类型

声明

string mysql_client_encoding ([ resource $link_identifier ] )
查询MySQL字符类型。

参数

link_identifier
MySQL连接。如[......]

more…

Page 15/20...8...1213141516171819...