( ! ) 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.0010415560{main}( ).../index.php:0
20.15024720632Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.814417130240Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.814817130296Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.814917130672Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.814917130672Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.816117130768Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.817617170688require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.836617467960GKTemplate->__construct( ).../component.php:31
100.852717652344GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.854117697200require_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.0010415560{main}( ).../index.php:0
20.15024720632Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.814417130240Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.814817130296Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.814917130672Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.814917130672Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.816117130768Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.817617170688require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.836617467960GKTemplate->__construct( ).../component.php:31
100.856717825528GKTemplateMenu->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.0010415560{main}( ).../index.php:0
20.15024720632Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.15024720632Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.581512448792Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.582512473136Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.583912528464Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.584512557288require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.596912992696K2ControllerItem->execute( ).../k2.php:64
90.596912992696K2ControllerItem->display( ).../BaseController.php:710
100.612913717896K2ControllerItem->display( ).../item.php:78
110.612913717896K2ControllerItem->display( ).../controller.php:19
120.619714114264Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.621914134632K2ViewItem->display( ).../ViewController.php:102
140.792717051016K2ViewItem->display( ).../view.html.php:742
150.792717051016K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.801017231216include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 1523 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.0010415560{main}( ).../index.php:0
20.15024720632Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.15024720632Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.581512448792Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.582512473136Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.583912528464Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.584512557288require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.596912992696K2ControllerItem->execute( ).../k2.php:64
90.596912992696K2ControllerItem->display( ).../BaseController.php:710
100.612913717896K2ControllerItem->display( ).../item.php:78
110.612913717896K2ControllerItem->display( ).../controller.php:19
120.619714114264Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.621914134632K2ViewItem->display( ).../ViewController.php:102
140.792717051016K2ViewItem->display( ).../view.html.php:742
150.792717051016K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.801017231216include( '/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.