phpµ÷Óô洢¹ý³Ì
Àý×Ó³ÌÐò¡£
<?php
define('CLIENT_MULTI_RESULTS', 131072);
$link = mysql_connect("127.0.0.1", "root", "",1,CLIENT_MULTI_RESULTS) or die("Could not connect: ".mysql_error());
mysql_select_db("vs") or die("Could not select database");
?>
<?php
$result = mysql_query("call get_news_from_class_id(2)") or die("Query failed:" .mysql_error());
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
$line = '<tr><td><a target = _blank href=\''.$row["url"].'\'>'.$row["title"].'('.$row["page_time"].')'.'</a></td></t
r>';
echo $line;
printf("\n");
}
mysql_free_result($result);
?>
<?php
mysql_close($link);
?>
Ïà¹ØÎĵµ£º
Ŀǰ£¬×î³£ÓõÄÈýÖÖ¶¯Ì¬ÍøÒ³ÓïÑÔÓÐASP(Active Server Pages),JSP(Java Server Pages),
PHP (Hypertext Preprocessor)¡£
¼ò ½é
¡¡¡¡ASPÈ«ÃûActive Server & ......
ǰÑÔ£º
¡¡¡¡¶àÓïÑÔÍøÕ¾¿ª·¢£¬ÖصãµÄ»¹ÊÇÔÚ½â¾öÓïÑÔÖ®¼äµÄÎÊÌâ¡£
¡¡¡¡ÄÇÈçºÎ½â¾öÕâ¸öÎÊÌâÄØ?´ó¸Å¾Í·ÖÈý²½×ߣº
¡¡¡¡1.Ò³Ãæ¶àÓïÑÔ
¡¡¡¡2.Êý¾Ý¿â¶àÓïÑÔ
¡¡¡¡3.Óû§·ÃÎÊÓïÑÔͳһ
¡¡¡¡1.Ò³Ãæ¶àÓïÑÔ
¡¡¡¡ÐèÒª¿¼ÂǵÄÎÊÌ⣺
¡¡¡¡A.Óû§µÇ½ʱºò£¬×Ô¶¯Ê¶±ð×Ö·û£¬µ÷Óò»Í¬µÄÓïÑÔ°ü?
¡¡¡¡B.Óû§Çл»²»Í¬ÓïÑÔʱºò£¬µ÷Óò»Í¬µÄÓï ......
×Ö·û´®µÄ²Ù×÷ÔÚPHP±à³ÌÖÐÕ¼ÓÐÖØÒªµÄµØÎ»£¬¼¸ºõËùÓÐPHP½Å±¾µÄÊäÈëºÍÊä³ö¶¼Óõ½×Ö·û´®¡£ÓÈÆäÔÚPHPÏîÄ¿¿ª·¢¹ý³ÌÖУ¬ÎªÁËʵÏÖijÏÄÜ£¬¾©³ÇÐèÒª¶ÔijЩ×Ö·û´®½øÐÐÌØÊâ´¦Àí£¬Èç»ñÈ¡×Ö·û´®µÄ³¤¶È¡¢½ØÈ¡×Ö·û´®¡¢Ìæ»»×Ö·û´®µÈ¡£ËùÒÔÕâÒ²ÊÇÎÒÃǽñÌì¿Î³ÌµÄÖ÷ÒªÄÚÈÝ£¬Ï£ÍûѧԱ¿ÉÒÔÈÏÕæÑ§Ï°£¬ÇÚ¼ÓÁ·Ï°¡£
8.3.1 È¥³ý×Ö·û´®Ê×λ¿Õ¸ñºÍÌØÊ ......
ÕâÊÇËæ»úÑ¡ÔñA0-A3ËÄ×éÊý¾ÝÖÐÆäÖÐÒ»×éPHP´úÂë:
<?php
$A[0]="QQ:<font color=ff32000>7161283</font>";
$A[1]="E_mail:<font color=ff32000>15018499772@139.com</font>";
$A[2]="ÊÖ»ú:<font color=ff32000>15018499772</font>";
$A[3]="MSN:<font color=ff32000>chinaa ......