( ! ) 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.0017415400{main}( ).../index.php:0
20.09964720640Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.445314251840Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.445514251784Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.445614252160Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.445614252160Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.445714252256Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.447014292176require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.452714589864GKTemplate->__construct( ).../component.php:31
100.459714759240GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.460514804096require_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.0017415400{main}( ).../index.php:0
20.09964720640Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.445314251840Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.445514251784Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.445614252160Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.445614252160Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.445714252256Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.447014292176require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.452714589864GKTemplate->__construct( ).../component.php:31
100.462814932040GKTemplateMenu->getMenuType( ).../gk.framework.php:85
2维数组 input 处理
Logo
Print this page

2维数组 input 处理

输出

$rs9 = mysql_fetch_array($sql9);
          if($rs9!=null)
          {
          $i=1;
            do{        
?>    
     <tr>
    <td id="mytd"></td>
    <td id="mytd"><?php echo $ini_array['menu9_examen_Resultats_Examens'].":" ;?><input type="text" name="area[][1]"><input type="hidden" name="area[][2]" value=""></td>
    </tr>
    
    <?php $i++; }
    while($rs9 = mysql_fetch_array($sql9));
    } ?>

 

处理

 

if($_GET['action']=="submit"){
$notes = $_POST['area'];
}
foreach(   $notes   as   $key=>   $value)
{
        $resualt=mysql_query("
                              REPLACE INTO `ilci`.`tbl_choix_examen_notes` (
                              `notes_stu_id` ,
                              `notes_empl_id` ,
                              `notes_note`
                              )
                              VALUES (
                              '$value[2]', '$empl_id', '$value[1]'
                              );
");
          if($resualt){
                   echo "<tr><td id=\"mytd\">".$ini_array['menu9_examen_mysql_success']."</td></tr>" ; }

          else{
                   echo "<tr><td id=\"mytd\">".$ini_array['menu9_examen_mysql_fail']."</td></tr>" ; }

        
        
        
}            
?>            
</table>
<?php
}
else {

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.0006414360{main}( ).../index.php:0
20.07734264936Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07734264936Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.238211456024Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.238711480400Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.239411535728Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.239611563128require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.246911962760K2ControllerItem->execute( ).../k2.php:64
90.246911962760K2ControllerItem->display( ).../BaseController.php:710
100.255012613464K2ControllerItem->display( ).../item.php:78
110.255012613464K2ControllerItem->display( ).../controller.php:19
120.258712984504Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.259513004872K2ViewItem->display( ).../ViewController.php:102
140.325615783648K2ViewItem->display( ).../view.html.php:742
150.325615783648K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.327115956584include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 3410 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.0006414360{main}( ).../index.php:0
20.07734264936Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07734264936Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.238211456024Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.238711480400Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.239411535728Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.239611563128require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.246911962760K2ControllerItem->execute( ).../k2.php:64
90.246911962760K2ControllerItem->display( ).../BaseController.php:710
100.255012613464K2ControllerItem->display( ).../item.php:78
110.255012613464K2ControllerItem->display( ).../controller.php:19
120.258712984504Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.259513004872K2ViewItem->display( ).../ViewController.php:102
140.325615783648K2ViewItem->display( ).../view.html.php:742
150.325615783648K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.327115956584include( '/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.