Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

php jquery Ajax Ìá½»¡¢¶ÁÈ¡ json

<mce:script type="text/javascript" language="javascript"><!--
function del(com_id,meet_id){
$.ajax({
url:'../company/meet.Ajax.php',
type:'POST',
data:{com_id:com_id,meet_id:meet_id},
dataType:"json",
timeout: 1000,
error: function(){
alert('Sorry, the server is busy now, please try again later.');
},
success: function(data){
if(data){
$("#row_"+data.meet_id).remove();
if($("#meeting_info").find("tr").length==1){
var tds = $("#meeting_info>tbody>tr:last").find("td").length;
$("#meeting_info>tbody").append('<tr id ="no_meet" <?=linecolor_v2(1)?> height="22" align="left"><td colspan="'+tds+'"><b>there is no meet now.</b></td></tr>');
}
} else {
alert("sorry, delete fail, please try again later.");
}
}
});
}
if($("#meeting_info").find("tr").length==1){
var tds = $("#meeting_info>tbody>tr:last").find("td").length;
$("#meeting_info>tbody").append('<tr id ="no_meet" <?=linecolor_v2(1)?> height="22" align="left"><td colspan="'+tds+'"><b>there is no meet now.</b></td></tr>');
}
// --></mce:script>
<?
$retval = '{"status":"fail"}';
if($_REQUEST['meet_id'] && $_REQUEST['com_id']) {
include_once("../include/function.php");
include_once("../include/dbconnect.php");
global $connectionid,$SITE_PARAS, $AGENT_INFO;
//data:{com_id:com_id,meet_id:meet_id}
$sql = "DELETE from RDL.MEETING WHERE MEET_PID = TO_NUMBER('".$_REQUEST['meet_id']."') AND COM_PID = TO_NUMBER('".$_REQUEST['com_id']."')";
$result = sql_exec($connectionid, $sql, false);
//print


Ïà¹ØÎĵµ£º

PHP³£ÓÃ×Ö·û´®º¯ÊýÊÕ¼¯£¨60¸ö£©

1¡¢AddcSlashes ×Ö·û´®¼ÓÈ뷴бÏß
Óï·¨£ºstring addcslashes(string str,string charlist);
2¡¢AddSlashes ×Ö·û´®¼ÓÈ뷴бÏß
Óï·¨£ºstring addslashes(string str);
ÔÚÌØ¶¨µÄ×Ö·ûǰ¼Ó·´Ð±Ïߣº'¡¢"¡¢\¡¢NULL
3¡¢bin2hex ½«¶þ½øÎ»×ª³ÉÊ®Áù½øÎ»
Óï·¨£ºstring bin2hex(string str);
4¡¢Chop È¥³ýÁ¬Ðø¿Õ°×,ͬrtrim()
Óï· ......

½«jQueryÓ¦ÓÃÓÚAsp.net Ajaxʱ£¬Ó¦±ÜÃâµÄ3¸ö´íÎó

3 mistakes to avoid when using jQuery with ASP.NET AJAX
AJAX, ASP.NET, JavaScript, jQuery By Dave Ward on June 5th, 2008
Over the past few weeks, I think I have definitely embodied Jeff Atwood’s claim that we’re all amateurs, learning together. Despite my best efforts to thoroughly tes ......

phpÖÐheaderº¯ÊýµÄʹÓÃ

header("HTTP/1.0 400 Bad Request");¡¡·µ»Ø400´íÎó
header("HTTP/1.0 404 Not Found"); ·µ»Ø404´íÎó
header("Location:http://$host$uri/$extra"); Ìø×ª
//ÉèÖÃnocache¡¡£¬¹ýÆÚ
header
(
"Cache-Control: no-cache,
must-revalidate"
);
//
HTTP/1.1
header
(
&q ......

¼ÌÐøÕª³­£ºphpÒ³Ãæ·ÃÎÊʱ£¬Í³Ò»½øÐÐȨÏÞÑéÖ¤µÄÉè¼Æ

¡¡¡¡/***************************
¡¡¡¡* author : ´óÁäÇàÄê
¡¡¡¡* email : wenadmin@sina.com
¡¡¡¡* from: http://blog.csdn.net/hahawen
¡¡¡¡* ×ªÔØÇë±£ÁôÕⲿ·ÖÐÅÏ¢£¬Ð»Ð»
¡¡¡¡***************************/
phpÒ³Ãæ·ÃÎÊʱ£¬Í³Ò»½øÐÐȨÏÞÑéÖ¤µÄÉè¼Æ
ÍíÉÏÓÐÈËÎÊÎÒ¹ØÓÚÍøÕ¾Ò³ÃæÏÔʾµÄʱºò£¬È¨ÏÞÅжϵÄÎÊÌâ¡£ÓÚÊǾÍÓ ......

PHP¿ª·¢»·¾³ÅäÖùý³ÌÏê½â

ÓÉÓÚÄêǰ°Ñ¹¤×÷È·ÈÏÏÂÀ´ÁË£¬ÓÚÊÇ×¼±¸ÀûÓÃ׫д±ÏÒµÂÛÎÄµÄÆÚ¼äѧϰһÏÂPHPµÄ¿ª·¢£¬ÈκÎÒ»ÃÅÓïÑÔµÄѧϰ¹ý³Ì£¬µÚÒ»²½¶¼ÊÇ¿ª·¢»·¾³µÄ³É¹¦ÅäÖã¬ÓÚÊÇÎÒ»¨ÁËÒ»ÉÏÎçʱ¼ä°Ñ»·¾³´î½¨³É¹¦¡£
PHP¿ª·¢»·¾³ÅäÖùý³ÌÏê½â
±¾´ÎÅäÖÃÖ÷ÒªÕë¶ÔÓÚWindows XPϵÄÅäÖð²×°£¬ÖÁÓÚLinuxϵÄÅäÖð²×°½«ÔÚÒÔºó¸øÓè²¹³ä¡£
Ò»¡¢ËùÐèÈí¼þ
Windows XP ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ