PHP ÖÆ×÷ͨѶ¼£¨¶þ£©
ÉÏһƪÖУ¬¼òµ¥Ð´Á˸öInput.php £¬ µ«ÉúÈÕÄÇÒ»À¸Òª×Ô¼ºÊÖ¶¯ÊäÈëд£¬±È½ÏÂé·³£¬ËùÒÔÕâÀïÓõ½Ò»¸öJSÎļþ£¬¿ÉÒÔÑ¡ÔñÈÕÆÚ
µã»÷ÏÂÔØÕâ¸öjsÎļþ
ÔÚInput.phpÎļþ×¶ËÒýÓÃÕâ¸öJSÎļþ
<script type="text/javascript" src="calenderJS.js"></script>
½«ÉúÈÕµÄÊäÈë¿ò¸Ä³É
<input name="birthday" type="text" id="birthday" onfocus="HS_setDate(this)" />
¼´Íê³Éµ÷Ó㬿ÉÒÔ·½±ãµØÑ¡ÔñÈÕÆÚ¡£
Index.php ÖÐÖ»ÄÜÏÔʾÊý¾Ý£¬ÎÞ·¨½øÐб༡¢É¾³ýµÈ²Ù×÷£¬ºÜ²»·½±ã£¬ËùÒÔÔÚ±í¸ñ´úÂë×îºóÒ»ÐмÓÈë
<th bgcolor="#CCCCCC" scope="col">¹ÜÀí</th>
Ñ»·ÖУ¨×Ô¶¯Éú³É±í¸ñµÄ´úÂ룩¼ÓÈë
<td><a href="Edit.php?id=<?php echo $row[0];?>" >±à¼</a>
<a href="Delete.php?id=<?php echo $row[0];?>" >ɾ³ý</a></td>
ÏÖÔÚʵÏÖɾ³ý¹¦ÄÜ£ºDelete.php
<!-- Delete.php -->
<?php
$id = $_GET['id'];
$sql = "DELETE from `AddrList` WHERE Id=$id";
require('conn.php');
if($result)
{
?>
<script type="text/javascript">
alert("ɾ³ý³É¹¦£¡");
</script>
<?php
}
?>
<script type="text/javascript">
history.back(-1);
history.go(0);
</script>
ºÃ£¬½ñÌì×öµ½ÕâÀÍíÁË£¬Ã÷ÌìÒª¿¼ÊÔ£¬ÏÈÈ¥ÐÝÏ¢ÁË£¬ÏÂÐÇÆÚ¼ÌÐø
Ïà¹ØÎĵµ£º
$_SERVER['PHP_SELF'] #µ±Ç°ÕýÔÚÖ´Ðнű¾µÄÎļþÃû£¬Óë document rootÏà¹Ø¡£
$_SERVER['argv'] &n ......
<?php
/**
+++++++++++++++++++++=+++++ÉÏ´«Í¼Æ¬++++++++++++++++++++++++++++++++++++++++
—————————————————————————————&mdas ......
Ò»¡¢Apache HTTP Server °²×°£º
ÔËÐÐApache .msi Îļþ£¬°²×°³ÌÐò½«ÒªÇóÄãÌîдÈçÏÂÄÚÈÝ£º
1. Network Domain¼üÈëÄãµÄ·þÎñÆ÷£¨»òÕßÊÇÄã¼´½«×¢²áµÄ·þÎñÆ÷£©µÄDNS ÓòÃû¡£ÀýÈ磬ÄãµÄ·þÎñÆ÷µÄDNSÓòÃûÈ«³ÆÊÇserver.mydomain.net,ÄãÖ»ÐèÔÚÕâÀïÊäÈëmydomain.net¡£
2. Server Name ¾ÍÊÇÄãµÄ·þÎñÆ÷µÄDNSÓòÃûÈ«³Æ£¬»¹ÊÇÉÏÃæµÄÀ ......
ÕâÀï50¸öÓÐÒæµÄPHP¹¤¾ß£¬¿ÉÒÔ´ó´óÌá¸ßÄãµÄ±à³Ì¹¤×÷£º
µ÷ÊÔ¹¤¾ß
Webgrind
Xdebug
Gubed PHP Debugger
DBG
PHP_Debug
PHP_Dyn
MacGDBp
²âÊÔºÍÓÅ»¯¹¤¾ß
PHPUnit
SimpleTest
Selenium
PHP_CodeSniffer
dBug
PHP Profile Class
Îĵµ¹¤¾ß
phpDocumentor
PHP DOX
°²È«¹¤¾ß
Securimage
£ºÑéÖ¤Â빤¾ß¡£
Scave ......
×î½üÔÚѧPHP £¬¾õµÃ±È½Ï¼òµ¥£¬¿ÉÄÜÊÇÒòΪÓÐÒ»µã±à³Ì¾ÑéµÄÔµ¹Ê°É£¬½ñÌì½Ì´ó¼ÒÓÃPHPÖÆ×÷ͨѶ¼£¬¹¦ÄܱȽϼòµ¥£¬µÚÒ»´Î×öÍøÒ³½Ì³Ì£¬¶øÇÒ²»ÊǺÜÓÐPHP¾Ñ飬ËùÒÔ²»×ãµÄµØ·½´ó¼ÒÁôÑÔ¸æËßÎÒ£¬·Ï»°²»¶à˵£¬ÏÖÔÚ¿ªÊ¼
»·¾³£ºWindows XP SP3 + PHP5 + apache2 + mysql5
Ê×ÏÈ´´½¨Ò»¸öÊý¾Ý¿â£¬ÃûΪ MyDB £¨ÎÒÕâÀïʹÓõÄÊÇMySQL£©£¬SQL ......