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

Õâ¸öÊÇʲô¸ñʽµÄxml?phpÈçºÎ¶ÁÈ¡?

1.xml
<shandong dn="day">
<city cityX="236" cityY="90" cityname="±õÖÝ" />
<city cityX="296" cityY="90" cityname="¶«Óª"/>
<city cityX="296" cityY="90" cityname="Çൺ"/>
</shandong>

ÈçºÎÓÃphp°ÑËû¶ÁÈ¡µ½Êý×éÀïÃæ?
¸øµÄ¾ÍÕâ¸ö¸ñʽ.

¸ßÊÖÖ¸µãÏ ¸ø¸öº¯Êý»òÕß½â¾ö·½·¨
²»ÏëÓà explode Ò»µãÒ»µãµÄ²ð·Ö

$xml = simplexml_load_string(iconv('gbk','utf-8',file_get_contents('1.xml')));
print_r($xml);

SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [dn] => day
        )

    [city] => Array
        (
            [0] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [cityX] => 236
                  &nbs


Ïà¹ØÎÊ´ð£º

¹ØÓÚ¡¡php webservice¡¡µÄÎÊÌâ - PHP / »ù´¡±à³Ì

¶Ôphp²»ÊǺÜÁ˽â дÁ˸ö¼òµ¥µÄÀý×Ó
ÏÖÓÃc#µ÷ÓÃphpдµÄ webservice£¨soap WSDL£©iis6.0+php5.2.8
webserviceÈçÏÂ
<?php
class WebService
{
  public function Logout()
  {
//header('Co ......

PHP³¬¼¶¼òµ¥ÎÊÌ⣬50·Ö - PHP / »ù´¡±à³Ì

<!--¹ºÂòÊýÁ¿-->
  <div class='buyinfo'>
  <table width='auto'>
  <tr>
  <td><span>¹ºÂòÊýÁ¿£º</sp ......

ÈçºÎ¶¨ÆÚɾ³ýmysqlÊý¾Ý - PHP / »ù´¡±à³Ì

ÇëÎÊÏÂÄܲ»ÄÜÔÙwindows϶¨ÆÚÇå¿ÕmysqlÒ»¸ö±íÖеÄÈ«²¿Êý¾Ý£¬ÓÃPHPʵÏÖ£¡
лл¸÷λÁË
¾Í±ÈÈçÒ»¸öÐÇÆÚÇå¿ÕÒ»´Î
±ÈÈçÿ¸öÐÇÆÚÁùÁãµãÇå¿ÕÒ»´Î£¡
ллÁË

¼Æ»®ÈÎÎñ...php....sql...truncate....OK

Äã¾ÍÕâ½ÓÔÚҳà ......

phpÎļþÄÜ·ñ±»±ðÈ˵ÁÈ¡?? - PHP / »ù´¡±à³Ì

ÎÒ¸ÕѧϰphpÇëÎÊ£¬Èç¹ûÎÒ°ÑphpÎļþÉÏ´«ÖÁ·þÎñÆ÷ºó£¬ÀýÈçhttp://www.****.com/cast.phpÕâ¸öÎļþ»á²»»á±»±ðÈËÏÂÔØ»ò¸´Öư¢£¿
¿ÉÒÔ±»ÏÂÔØ£¬Ò²¿ÉÒÔ²»±»ÏÂÔØ£¬¿´web·þÎñÆ÷¶Ô¸ÃÎļþȨÏÞµÄÅäÖÃ

¿´Äã¶ÔÎļþȨÏÞµÄÉèÖÃ
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ