$conn = new COM("ADODB.Connection") or die ("ADO Connection faild.");
$connstr = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=".realpath("app.mdb");
$conn->Open($connstr);
function proshow($condition1,$condition2)
{
if ($condition ......
ÈçÌâ.Ôõô¶ÁÈ¡Êý¾Ý¿âÖÐ×ֶβ»Îª¿ÕµÄÐÅÏ¢?
ÎÒÏë¶ÁÈ¡Êý¾Ý¿âÖÐͼƬһÀ¸²»Îª¿ÕµÄ¼Ç¼
SQL="select * from info where img not isnull"
ûÓб¨´í.µ«ÊÇËü°ÑËùÓеĶ¼¶Á³öÀ´ÁË.ûÓÐͼƬµÄÒ²¶Á³öÀ´ÁË..
SQL code:
select * from info where img is not isnull
SQL code:
select * from info where img is not ......
Çë½Ì£º
±íA½á¹¹ÈçÏ£ºID StartTime EndTime
1 2010/4/2 9:00:00 2010/4/2 11:00:00
2 2010/4/2 12:00:00 2010/4/2 14:00:00
. ... ...
ÏÖÎÒÓµÓÐÁ½¸öʱ¼ä±äÁ¿a,b£¬ÔõÑù²éѯ¿ÉÒÔµ ......
ÔÚ²éѯÊý¾Ý¿âÐÅϢʱ£¬Ìõ¼þÊǺÍÊý¾Ý¿âÀïµÄÊý×ÖÐÍ×ֶαȽϣ¬µ÷ÊÔʱ×ÜÊÇÖ´ÐÐʧ°Ü£¬Ëµ±ê×¼±í´ïʽÉϵÄÊý¾ÝÀàÐͲ»Æ¥Åä
²éѯÓï¾ä£º Serchstr = "SELECT Tablenum as ×ÀºÅ,Conperson as ÈÝÄÉÈËÊý, Status as µ±Ç°×´Ì¬,Roomum as ËùÊô·¿¼ä from TableInfo WHERE Conperson>= '" & Min & "' AND Conperso ......
ÏÂÃæÊÇÊý¾Ý
ID Money PID
1 50
2 40 1
3 30 1
4 10 1
5 70 1
6 50 ......
ÈçºÎÓÃSQL½«Access±íÖеÄÊý¾ÝÈ¥²»Çå¿Õ£¿
ÈçºÎÓÃsql½«ACCESS²¿·ÖÊý¾Ý±íÖеĵÄÊý¾ÝÇå¿Õ£¿
ÈçºÎÓÃSQL½«Access±íÖеÄÊý¾ÝÈ¥²»Çå¿Õ£¿
¾ÙÀý˵Ã÷
ÈçºÎÓÃsql½«ACCESS²¿·ÖÊý¾Ý±íÖеĵÄÊý¾ÝÇå¿Õ£¿
delete from tt
ÓÃSQlÓï¾äʹAccessÊý¾Ý¿âËùÓбíÖеÄÊý¾ÝÈ«²¿Çå¿Õ
delete from tablename;
.
......