( ! ) 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.0009415400{main}( ).../index.php:0
20.10914720560Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.570214255048Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.570414254992Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.570514255368Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.570514255368Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.570714255464Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.571114295384require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.576814593072GKTemplate->__construct( ).../component.php:31
100.584514762448GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.585414807304require_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.0009415400{main}( ).../index.php:0
20.10914720560Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.570214255048Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.570414254992Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.570514255368Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.570514255368Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.570714255464Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.571114295384require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.576814593072GKTemplate->__construct( ).../component.php:31
100.588014935248GKTemplateMenu->getMenuType( ).../gk.framework.php:85
mysql add foreign key 外键
Logo
Print this page

mysql add foreign key 外键

{codecitation class="brush:sql" width="500px"}
-- -------------------------------------------------------------------------------------------
ALTER TALBE tbl_choix_examen
ADD PRIMARY KEY (choix_examen_id);
-- -------------------------------------------------------------------------------------------
ALTER TABLE `tbl_choix_examen` ADD PRIMARY KEY ( `choix_examen_id` )
-- -------------------------------------------------------------------------------------------
ALTER TABLE `ilci`.`tbl_choix_examen` ADD PRIMARY KEY ( `choix_examen_id` )
ALTER TABLE `tbl_choix_examen` CHANGE `choix_examen_id` `choix_examen_id` INT( 10 ) NOT NULL AUTO_INCREMENT
-- -------------------------------------------------------------------------------------------
ALTER `ilci`.`tbl_choix_examen`
ADD [CONSTRAINT [symbol]] FOREIGN KEY
[index_name] (index_col_name, ...)
REFERENCES tbl_name (index_col_name,...)
[ON DELETE reference_option]
[ON UPDATE reference_option]
-- -------------------------------------------------------------------------------------------
alter table `ilci`.`tbl_choix_examen` add foreign key(choix_examen_stu_id) references tbl_student(stu_id);
-- -------------------------------------------------------------------------------------------
alter table `ilci`.`tbl_choix_examen` add foreign key(choix_examen_emploi_id) references tbl_emploi_du_temps(empl_id);
-- -------------------------------------------------------------------------------------------
alter table `ilci`.`tbl_choix_examen_temps` add foreign key(emploi_du_temps_id) references tbl_emploi_du_temps(empl_id);
-- -------------------------------------------------------------------------------------------
{/codecitation}

 

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.0006415872{main}( ).../index.php:0
20.07554721032Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07554721032Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.265912449232Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.266512473640Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.267212528968Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.267512557792require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.275212993200K2ControllerItem->execute( ).../k2.php:64
90.275212993200K2ControllerItem->display( ).../BaseController.php:710
100.283413718400K2ControllerItem->display( ).../item.php:78
110.283413718400K2ControllerItem->display( ).../controller.php:19
120.288914114768Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.290514135136K2ViewItem->display( ).../ViewController.php:102
140.357417044992K2ViewItem->display( ).../view.html.php:742
150.357417044992K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.358917225192include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 3396 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.0006415872{main}( ).../index.php:0
20.07554721032Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07554721032Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.265912449232Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.266512473640Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.267212528968Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.267512557792require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.275212993200K2ControllerItem->execute( ).../k2.php:64
90.275212993200K2ControllerItem->display( ).../BaseController.php:710
100.283413718400K2ControllerItem->display( ).../item.php:78
110.283413718400K2ControllerItem->display( ).../controller.php:19
120.288914114768Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.290514135136K2ViewItem->display( ).../ViewController.php:102
140.357417044992K2ViewItem->display( ).../view.html.php:742
150.357417044992K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.358917225192include( '/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.