Ïòjavascriptº¯Êý´«µÝphp±äÁ¿µÄÎÊÌâ - PHP / »ù´¡±à³Ì
ÓÐÒ»¶ÎPHP´úÂëÈçÏ£º
PHP code:
$downPage="<a href='javascript:turntoPage($p)'>".$this->config['next']."</a>";
ÎÒÏ뽫PHPµÄ±äÁ¿$p×÷Ϊ²ÎÊý´«µÝ¸øjavascriptº¯ÊýturntoPage()
Ó¦¸ÃÔõÑùдÄØ£¿
ÎÒÄÇÑùµÄд·¨ÊÇ´íÎóµÄ£¬µÃ²»µ½²ÎÊý£»
Çë´ó¼ÒÖ¸Õý ллÀ²
$downPage="<a href='javascript:turntoPage(\"$p\")'>".$this->config['next']."</a>";
òËÆÐв»Í¨ »¹Êǵò»µ½²ÎÊý
״̬À¸ÏÔʾ:javascript:turntoPage("p")
$downPage="<a href='javascript:turntoPage(\"".$p."\")'>".$this->config['next']."</a>";
Õâ¸öÄØ£¿
»¹²»ÐУ¬ÄǾͼì²éÏÂ$pÕâ¸ö±äÁ¿°É
¿´Äã $p ±äÁ¿ÀïÃæÓÐÎÞ Ë«ÒýºÅ µ«ÒýºÅ ¿ÉÄÜ»áºÍÍⲿµ¥Ë«ÒýºÅ³åÍ»ÒýÆð´íÎó
×îºÃµÄ °ì·¨
ÎÒÏë Ó¦¸ÃÊÇ raw_urlencode($p)
ÔÚJS º¯ÊýÖÐ decodeURIComponent(arguments[0])
Ïà¹ØÎÊ´ð£º
zend guard¼ÓÃܵÄphpÊÇ¿ÉÒÔÆƽâµÄ£¬ÓÐµÄ ËµÊÇʹÓú¯Êý»ìÏý¿ÉÒÔ¸üÄÑÆƽâһЩ¡£ÔõôʹÓÃÄØ¡£
»òÕß´ó¼Ò¸æËßÎÒÄÄÖÖ¼ÓÃÜ·½Ê½¸ü°²È«¡£Ð»Ð»ÁË¡£
ÎÒÄ¿Ç°µÄzend guard°æ±¾ÊÇ4.0.1
ÎÞ½â
ÒýÓÃ
ÎÞ½â
²»¿ÉÄÜ°É¡£ÔÚÍøÉϲéÁ ......
Ä¿Ç°ÔÚÎ人ÕÒ¹¤×÷
·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ
Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü
»¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³
Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......
ÔÚJSPÒ³ÃæÓÐÒ»¸ö<input type="hidden" name="index" value="0">/>¿Ø¼þ
µ±ÎÒÓÃÏÂÃæµÄJavaScriptº¯Êý¸Ä±äÆävalueµÄÖµµÄʱºò Èç¹ûÂú×ãÌõ¼þ£¨¼´i>=3µÄʱºò£©ÎªÊ²Ã´valueµÄ ......
ÎÒÔÚheadÖÐдÁËÏÂÃæµÃ´úÂë,Ïë½Ù³Öalertº¯Êý£¬¿ÉÊDz»ÖªµÀΪʲô£¬½«Õâ¸öhtml´ò¿ªÊ±£¬µ¯³öÁ½¸ö¿ò¶¼ÊÇÄÚÈݶ¼ÊÇab£¬ÎÒÒѾ½Ù³ÖÁËÕâ¸öº¯Êý£¬ÎªÊ²Ã´Ã»ÓÐЧÄØ£¿
ÎÒÔÚÏÂÃ涨Òå¸öbuttonÔÚonclickʼþÖÐÌí¼Ó´úÂëalert£¨¡°ab¡± ......
phpͬʱµ÷ÓÃ3¸öÊý¾Ý¿âÖеÄÒ»¸ö±íµÄÐÅÏ¢£¨¼ÜÉèA.a.aid=B.b.bid=C.c.cid£©£¬Çë˵Ã÷˼·¼°Êéд²¿·Ö´úÂë
ÀýÈ磺
SELECT time, goodid from dbname1.time, dbname2.goods
ÊÇÕâ¸öÒâ˼ô£¿
SELECT time, goodid from ......