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

phpÁ¬½ÓaccessµÄÎÊÌâ - PHP / »ù´¡±à³Ì

ÓÃphpÈçºÎÁ¬½ÓaccessÊý¾Ý¿â£¬²¢¶ÔÊý¾Ý½øÐÐÔöɾ¸Ä²é£¬ÒÔÏÂÊÇÎҵĴúÂ룬
$conn = new com("ADODB.Connection");

$connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath("..\shuju\pos.mdb ");

$conn->Open($connstr); 
if($_POST[Submit2]=="Ìá½»")
{
$datea=date("Y-m-d");
$title=$_POST["title"];
$text=$_POST["text"];
$sql="insert into news (title,text,datea) values('$title','$text','$datea')";
$rs->open($sql,$conn,4,4);
echo "Ìí¼Ó³É¹¦";
}µ«ÊÇÌáʾÌí¼Ó³É¹¦¡£Êý¾Ý¿âÀïÃæȴûÓÐÊý¾Ý¡£¸÷λ´óÏÀ°ïæ½â¾öÏ¡£
ûÓùýphp+access£¬°ï¶¥
Óà php+mysql ²»ÊǺܺÃÂð£¿

ÄǸö¹«Ë¾ÊÇСÐ͹«Ë¾£¬Êý¾ÝÁ¿Ì«Ð¡¡£ºÇºÇ¡£²¢ÇÒÕâÒ²ÊÇÒ»¸ö³¢ÊÔ¡£

ÄãÅжÏÏÂÓÐûÓвåÈë°¡

ÒýÓÃ
ÄãÅжÏÏÂÓÐûÓвåÈë°¡

ÔõôÅжϣ¬¶ÔÕâ¸ö¶«Î÷²»ÊǺܶ®¡£×Ôѧphp²ÅÒ»¸öÔ¡£

Óà php+mysql ²»ÊǺܺÃÂð£¿

Ïë³¢ÊÔÏ¡£²¢ÇÒ¿Í»§ÒªÇóÓÃaccess¡£

ÎҵĽ¨ÒéÊÇʹÓÃADODB¡£Õâ¸öºÃÓÃһЩ¡£
ÄãµÄÄǸö°æ±¾ÊÇÀÏʽµÄÁ¬½Ó·½·¨¡£
ÎÒÔø¾­ÊÔ¹ý£¬²»¹ýÊÇͨ¹ýͼÐλ¯´î½¨µÄODODB ²Å³É¹¦¡£Ê¹ÓÃÓï¾äÒ²³öÁËÎÊÌâ¡£
ÎÒÒ²²»Çå³þΪʲôÓÐʱºòÄÇÖÖÓï¾äʽµÄÁ¬½ÓAccessÓÐÎÊÌâ¡£

Äã˵µÄÕâÖÖÐÂʽµÄÁ¬½ÓºÃÏñÄǸö·þÎñÆ÷²»Ö§³Ö¡£ÓôÃÆ¡£²»¹ýºÜлл¡£

ÏÔʾ Ìí¼Ó³É¹¦
Ö»±íʾ³ÌÐòûÓÐÒòΪ´íÎó¶øÖжÏ

ËùÓÐÈë¿âµÄÎı¾Êý¾Ý¶¼Òª×ªÒåÌØÊâ×Ö·û¡°'¡±,×¢ÒâÊÇת³É£º''£¬¶ø²»ÊÇ\'

²»ÖªµÀÄãµÄ datea ×


Ïà¹ØÎÊ´ð£º

ÇëÎÊphp²ÉÓÃʲô¼ÓÃÜ·½Ê½²»±»Æƽ⣿ - PHP / »ù´¡±à³Ì

zend guard¼ÓÃܵÄphpÊÇ¿ÉÒÔÆƽâµÄ£¬ÓÐµÄ ËµÊÇʹÓú¯Êý»ìÏý¿ÉÒÔ¸üÄÑÆƽâһЩ¡£ÔõôʹÓÃÄØ¡£
»òÕß´ó¼Ò¸æËßÎÒÄÄÖÖ¼ÓÃÜ·½Ê½¸ü°²È«¡£Ð»Ð»ÁË¡£
ÎÒÄ¿Ç°µÄzend guard°æ±¾ÊÇ4.0.1
ÎÞ½â

ÒýÓÃ
ÎÞ½â
²»¿ÉÄÜ°É¡£ÔÚÍøÉϲéÁ ......

Ïëѧphp - PHP / »ù´¡±à³Ì

Çë¸ßÊÖÃǸø½éÉܼ¸±¾ºÃÊ飡

ÊÖ²áºÜÖØÒªµÄàÞ£¡~
ÎÒ¶¼ÊÇÐÂÊÖ Ò»Æë¼ÓÓÍ

Ò»°ã¶¼ÊÇÊÖ²áµÄÀ²£¬ÔÙ¼ÓÉÏÒ»±¾ÊµÀý½²½â

php´ÓÈëÃŵ½¾«Í¨ Õâ±¾ÊéÀïÓкöà´íµÄµØ·½¡£

È¥ÂòÊ¥¾­°É£¬ÄDZ¾Ê黹²»´í£¬ÁíÍâÄǸö18.8MµÄÊÖ²áÒ ......

±±¾©2ÄêPHP¾­ÑéÇó¼æÖ° - PHP / Framework

±±¾©2ÄêPHP¾­ÑéÇó¼æÖ°
½Ó·Ö

·¹ý½Ó·Ö£¡.¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

jf~~~~~~~~~~~~~~Ö§³Ö

ßÀ¡£¡£ÎÒÃÇÐèÒª¼æÖ°£¬¿ÉÊÇÔõôÁªÏµÄãѽ£¿

¶¥¡£¡£¡£ »Ø¸´ÄÚÈÝ »Ø¸´ÄÚÈÝÌ«¶ÌÁË£¡

º¼ÖÝÄãÈ¥²»È¥°¡ ¡£¡£¡£¡£¡ ......

phpÁª½Ó¶à¸öÊý¾Ý¿âµÄÎÊÌâ

mssql_select_db("f1",mssql_connect("localhost","sa","sa"));
mssql_select_db("f2",mssql_connect("192.168.0.1","sa","sa") ......

PHPÈçºÎʵÏÖÓòÃûµÄ×Ô¶¯Ìøת... - PHP / »ù´¡±à³Ì

ÏÖÓÐÒ»PHP¿Õ¼ä£¬Ö§³ÖMYSQLÊý¾Ý¿â
Ϊ½ÚÊ¡·ÑÓã¬ÏÖÏëͨ¹ýÓòÃûתÏòĿ¼ÐÎʽ½øÐйÜÀí£¨¼´½«ÓòÃûA¼Ç¼£Û°üÀ¨¶¥¼¶ÓòÃû¼°¶þ¼¶ÓòÃû£Ý¶¼Ö¸Ïòͬһ¿Õ¼ä£©
È磺·ÃÎÊÓòÃû abcd.cn Ö±½Ó·ÃÎÊÍøÕ¾¸ùĿ¼
·ÃÎʶþ¼¶ÓòÃû ef.abcd.cn ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ