phpÈ¡ÉÏÒ»¸öÒ³ÃæÖÐcheckboxÑ¡ÖеÄÖµ
<?
$music = $_POST['music'];
//È¡µÃËùÑ¡ÖеÄcheckboxµÄ¸öÊý
$coun=count($music);
if ( is_array( $music ) ) {
echo 'ÄúÑ¡ÔñµÄÊÇ : ';
foreach ( $music as $key => $var )
echo ' ['.$var.']';
echo $key;
}
?>
<form action=index.php method=post>
<input type="checkbox" name="music[]" value="Á÷ÐÐÒôÀÖ">Á÷ÐÐÒôÀÖ<br>
<input type="checkbox" name="music[]" value="Ïç´åÒôÀÖ">Ïç´åÒôÀÖ<br>
<input type="checkbox" name="music[]" value="¹ÅµäÒôÀÖ">¹ÅµäÒôÀÖ<br>
<input type=submit name=submit value=submit>
</form>
Ïà¹ØÎĵµ£º
ÔÀ´ÊÇѧjspµÄ£¬µ«ÊǸоõjspÌ«ÄÑÁË£¬¶øÇÒ·¢ÏÖ£¬ÏÖÔڱȽÏÁ÷ÐÐphpÁË£¬php+mysqlµÄ»Æ½ð´îµµ¡£
¿´jspµÄÊéʱ£¬ÊéÉÏ˵£¬jsp±ÈphpºÃ£¬ÏÖÔÚ¿´phpµÄÊ飬˵php±ÈjspºÃ£¬ÎÒÏëÕâÒ²ÊÇÖÇÕß¼ûÖÇ£¬ÈÊÕß¼ûÈÊ°É¡£
ÇìÐÒ×Ô¼ºÑ§php·¢ÏÖÁËÒ»±¾ºÃÊ飬ÍƼö¸ø´ó¼Ò£¬¾ÍÊǽ²µÄºÜÏêϸ¡£
Ó¢ÎÄÃû¡¶PHP and MySQL EXAMPLE¡· ÃÀ¹ ......
×¼±¸ÖªÊ¶£º
Ubuntu :
Ubuntu ÊÇlinuxµÄÒ»¸ö°æ±¾£¬ÓзÇÖÞ·¢²¼µÄ£¬ÏÖÔڱȽÏÁ÷ÐеÄÒ»¸ö°æ±¾¡£
²Î¿¼°Ù¶È˵Ã÷Ubuntu
nginx ¡¡£º
Nginx ("engine x") ÊÇÒ»¸ö¸ßÐÔÄÜµÄ HTTP ºÍ ·´Ïò´úÀí ·þÎñÆ÷£¬Ò²ÊÇÒ»¸ö IMAP/POP3/SMTP ´úÀí·þÎñÆ÷¡£ Nginx ÊÇÓÉ Igor Sysoev Ϊ¶íÂÞ˹·ÃÎÊÁ¿µÚ¶þµÄ Rambler.ru Õ¾µã¿ ......
HTML´úÂë
<form action="" method="post">
<input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="1"/>
<input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="2"/>
<input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="3"/>
<input name="ID_D ......
ħÊõÒýÓ÷¢Éú×÷ÓÃÊÇÔÚ´«µÝ$_GET,$_POST,$_COOKIEʱ
1.
Ìõ¼þ£º magic_quotes_gpc=off
дÈëÊý¾Ý¿âµÄ×Ö·û´®Î´¾¹ýÈκιýÂË´¦Àí¡£´ÓÊý¾Ý¿â¶Á³öµÄ×Ö·û´®Ò²Î´×÷Èκδ¦Àí¡£
Êý¾Ý£º $data=”snow”’’sun” ; (snowºÍsunÖ®¼äÊÇËĸöÁ¬ÐøµÄµ¥ÒýºÅ).
²Ù×÷£º ½«×Ö·û´®:”snow”’& ......
ÕâЩÌìÏë×÷Ò»¸öÔÚÍøÕ¾ÖÐʵÏÖ²å¼þµÄ¹¦ÄÜ£¬¹È¸èÁËһϣ¬·¢ÏÖһƪÎÄÕ¸оõ¶ÔÎÒ°ïÖúºÜ´ó£¬Ìû³öÀ´ºÍ´ó¼Ò·ÖÏí£¬·Ï»°²»¶à˵£¬Ö±½ÓÌû³ö´úÂ빩´ó¼Ò·ÖÎö£º
Ê×ÏÈÊDzå¼þµÄ¹ÜÀíÀàµÄʵÏÖ£º
<?
/**
* STBLOG PluginManager Class
*
* ²å¼þ»úÖƵÄʵÏÖºËÐÄÀà
*
* @package STBLOG
* @subpackage Libraries
* @ ......