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

mysqlÓÃʲôÓï¾äÈÃÖ¸ÕëÖ¸ÏòÏÂÒ»¸ö£¿

mysqlÓÃʲôÓï¾äÈÃÖ¸ÕëÖ¸ÏòÏÂÒ»¸ö£¿

ÒÔÏÂÊÇÎÒдµÄÓï¾ä£¬next($row3);±íʾָÕëÖ¸ÏòÏÂÒ»¸ö£¬²»ÖªµÀ¶Ô²»¶Ô£¬¸ÃÈçºÎÐ޸ģ¿

$wuyan_s3='select * from wuyan';
$result_m3=mysql_query($wuyan_s3);
$row3= mysql_fetch_array($result_m3);
$mozi3=$row3['z5'];
while ($mozi3 <>$mozi1)
{
next($row3);
}
$yuju3=$row3['z1'];

¸øÄã¸öÀý×Ó

<?php
  mysql_connect("localhost", "mysql_user", "mysql_password") or
      die("Could not connect: " . mysql_error());
  mysql_select_db("mydb");

  $result = mysql_query("SELECT id, name from mytable");

  while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
      printf ("ID: %s  Name: %s", $row[0], $row[1]);
  }

  mysql_free_result($result);
?>

¶à·­·­Óï·¨Êֲᣬ¿´¿´±ðÈ˵ÄÔ´Âë

mysql_fetch_array
mysql_fetch_row
¶¼ÔÚ»ñÈ¡µ±Ç°ÐÐÖ®ºó×Ô¶¯½«Ö¸ÕëÒÆ¶¯µ½ÏÂÒ»ÐÐ.

ÒýÓÃ
mysql_fetch_array
mysql_fetch_row
¶¼ÔÚ»ñÈ¡µ±Ç°ÐÐÖ®ºó×Ô¶¯½«Ö¸ÕëÒÆ¶¯µ½ÏÂÒ»ÐÐ.


ÖªµÀ×Ô¶¯½«Ö¸ÕëÒÆ¶¯µ½ÏÂÒ»ÐУ¬µ«ÊÇÓÃÓï¾ä
while ($row3= mysql_fetch_array($result_m3)) Ö¸Õë¾ÍÒ»Ö±ÍùÏÂÒÆ£¬Ö±µ½Ã»ÓÐÊý¾ÝΪֹ¡£ÎÒÏëʵÏÖµÄÊǵ±$mo


Ïà¹ØÎÊ´ð£º

MYSQL°²×°Ê§°Ü

ÎÒÒÔǰ°²×°ÁËÒ»´Î£¬ºóÀ´Ð¶ÔØÁË£¬ÏÖÔÚÔÙ°²×°µÄʱºò£¬Ìáʾ´íÎó£ºError 1305.Error reading from file C:DOCUME~1\LOCALS~1\Temp\mysql_server.msi.Verify that the file exists and that you can access it. 
¿ ......

MYSQL°²×°Ê§°Ü

ÎÒÒÔǰ°²×°ÁËÒ»´Î£¬ºóÀ´Ð¶ÔØÁË£¬ÏÖÔÚÔÙ°²×°µÄʱºò£¬Ìáʾ´íÎó£ºError 1305.Error reading from file C:DOCUME~1\LOCALS~1\Temp\mysql_server.msi.Verify that the file exists and that you can access it.
¿ÉÊÇÎÒÕÒ ......

Çë½ÌÒ»¸ömysqlÁ©±íÁ¬½ÓµÄÎÊÌâ

ÓÐÒ»ÌõsqlÓï¾ä select a.name ,b.name from tableA a,tableB b where a.id = b.id and ¡£¡£¡££¨ÆäËû¹ýÂËÌõ¼þ£©
ÆäÖÐa.id ΪtableAÖ÷¼ü ÓÐΨһÐÔË÷Òý Êý¾ÝÁ¿²Å1ǧ¶à
b.id ΪÈÕÖ¾±ítableB µÄÍâ¼ü £¬ÂýÈ¥Ìõ¼þµÄ²Å ......

ÐèÒªÊÓÆµ½Ì³ÌµÄÐÂÊÖ½ø php + mysql + apache ÅäÖÃ

Õâ¸öÊÓÆµ½²µÄºÜÏêϸ, ¶ÔÐÂÊַdz£ÓÐÓÃ, »ù±¾ÉÏÒ»¿´¾Í¶®
ÓÉÓÚÌ«´óÁË(50m, ÎÒÖ»ÄÜÉÏ´«20m), ÎÒÉÏ´«²»ÁË, Ö»ºÃÌù³öÏÂÔØµØÖ·
ÏÂÔØµØÖ·: http://ftel1.3800hk.com/0807/080720djxnzj.rar
ºÃ¶«Î÷,ϸö¿´¿´


......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ