( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0016415288{main}( ).../index.php:0
20.08994720360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.496017129968Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.496317130024Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.496317130400Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.496317130400Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.496417130496Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.497017170416require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.503717467688GKTemplate->__construct( ).../component.php:31
100.510217652072GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.510817696928require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0016415288{main}( ).../index.php:0
20.08994720360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.496017129968Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.496317130024Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.496317130400Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.496317130400Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.496417130496Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.497017170416require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.503717467688GKTemplate->__construct( ).../component.php:31
100.512817825256GKTemplateMenu->getMenuType( ).../gk.framework.php:85
CONCAT mysql
Logo
Print this page

CONCAT mysql

使用方法:

CONCAT(str1,str2,…)

返回结果为连接参数产生的字符串。如有任何一个参数为NULL ,则返回值为 NULL。

使用方法:

CONCAT(str1,str2,…)

返回结果为连接参数产生的字符串。如有任何一个参数为NULL ,则返回值为 NULL。

如果所有参数均为非二进制字符串,则结果为非二进制字符串。
如果自变量中含有任一二进制字符串,则结果为一个二进制字符串。
一个数字参数被转化为与之相等的二进制字符串格式;若要避免这种情况,可使用显式类型 cast, 例如:

SELECT CONCAT(CAST(int_col AS CHAR), char_col)

MySQL的concat函数可以连接一个或者多个字符串,如

mysql> select concat('10');
+--------------+
| concat('10') |
+--------------+
| 10   |
+--------------+
1 row in set (0.00 sec)

mysql> select concat('11','22','33');
+------------------------+
| concat('11','22','33') |
+------------------------+
| 112233 |
+------------------------+
1 row in set (0.00 sec)

MySQL的concat函数在连接字符串的时候,只要其中一个是NULL,那么将返回NULLmysql> select concat('11','22',null);
+------------------------+
| concat('11','22',null) |
+------------------------+
| NULL   |
+------------------------+
1 row in set (0.00 sec)

Last modified onSunday, 14 October 2012 04:07

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0016415288{main}( ).../index.php:0
20.08994720360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.08994720360Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.304112448520Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.304712472864Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.305412528192Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.305712557016require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.313612992424K2ControllerItem->execute( ).../k2.php:64
90.313612992424K2ControllerItem->display( ).../BaseController.php:710
100.322813717624K2ControllerItem->display( ).../item.php:78
110.322813717624K2ControllerItem->display( ).../controller.php:19
120.326914113992Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.331514134360K2ViewItem->display( ).../ViewController.php:102
140.481817050744K2ViewItem->display( ).../view.html.php:742
150.481917050744K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.487717230944include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 1521 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0016415288{main}( ).../index.php:0
20.08994720360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.08994720360Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.304112448520Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.304712472864Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.305412528192Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.305712557016require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.313612992424K2ControllerItem->execute( ).../k2.php:64
90.313612992424K2ControllerItem->display( ).../BaseController.php:710
100.322813717624K2ControllerItem->display( ).../item.php:78
110.322813717624K2ControllerItem->display( ).../controller.php:19
120.326914113992Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.331514134360K2ViewItem->display( ).../ViewController.php:102
140.481817050744K2ViewItem->display( ).../view.html.php:742
150.481917050744K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.487717230944include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.