<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Create a Basic Web Service Using PHP, MySQL, XML, and&#160;JSON</title> <atom:link href="http://davidwalsh.name/web-service-php-mysql-xml-json/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/web-service-php-mysql-xml-json</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 24 May 2012 07:34:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: NiD</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-32057</link> <dc:creator>NiD</dc:creator> <pubDate>Mon, 07 May 2012 06:07:09 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-32057</guid> <description>Hi Devid,
This is nice work...but I&#039;ve got a problem with XML creation..
I am working on localhost now....this is working fine for JSON but for XML when the data is very large say, about 50000..it produces an error that,XML Parsing Error: not well-formed
Location: http://localhost/BNWebService/BNWebService.php?query=search&amp;format=xml
Line Number 1, Column 5377787:why this error and what to do now....</description> <content:encoded><![CDATA[<p>Hi Devid,<br
/> This is nice work&#8230;but I&#8217;ve got a problem with XML creation..<br
/> I am working on localhost now&#8230;.this is working fine for JSON but for XML when the data is very large say, about 50000..it produces an error that,</p><p>XML Parsing Error: not well-formed<br
/> Location: <a
href="http://localhost/BNWebService/BNWebService.php?query=search&#038;format=xml" rel="nofollow">http://localhost/BNWebService/BNWebService.php?query=search&#038;format=xml</a><br
/> Line Number 1, Column 5377787:</p><p>why this error and what to do now&#8230;.</p> ]]></content:encoded> </item> <item><title>By: Create a Basic Web Service Using PHP, MySQL, XML, and JSON &#171; Technology Blog</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-32010</link> <dc:creator>Create a Basic Web Service Using PHP, MySQL, XML, and JSON &#171; Technology Blog</dc:creator> <pubDate>Thu, 03 May 2012 14:19:58 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-32010</guid> <description>[...] Read more  0.000000 0.000000 Share this:Share [...]</description> <content:encoded><![CDATA[<p>[...] Read more  0.000000 0.000000 Share this:Share [...]</p> ]]></content:encoded> </item> <item><title>By: tuba</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-31850</link> <dc:creator>tuba</dc:creator> <pubDate>Tue, 24 Apr 2012 15:48:10 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-31850</guid> <description>Super cool!I lost an hour to find out soap/wsdl for webservice ...Pretty cool and much easier. thanks!</description> <content:encoded><![CDATA[<p>Super cool!</p><p>I lost an hour to find out soap/wsdl for webservice &#8230;</p><p>Pretty cool and much easier. thanks!</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-31429</link> <dc:creator>Mike</dc:creator> <pubDate>Tue, 03 Apr 2012 10:53:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-31429</guid> <description>I was look for something exactly like this to use for developing an iOS app and needed a way of outputting website data to JSON... I actually needed more simple version without pesky users, but this script is excellent and very easy to tailor to my needs.Thank you very much Mr Walsh.. another excellent post with a very useful script!</description> <content:encoded><![CDATA[<p>I was look for something exactly like this to use for developing an iOS app and needed a way of outputting website data to JSON&#8230; I actually needed more simple version without pesky users, but this script is excellent and very easy to tailor to my needs.</p><p>Thank you very much Mr Walsh.. another excellent post with a very useful script!</p> ]]></content:encoded> </item> <item><title>By: BooyaGadget.com</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-31073</link> <dc:creator>BooyaGadget.com</dc:creator> <pubDate>Sat, 17 Mar 2012 19:16:09 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-31073</guid> <description>Great post....
I used &quot;most&quot; of this code at BlueHost where my website is...I used the Cgi-Bin folder for my website, and tweaked the obvious changes to the code for login, db, and sql query.  The other thing I had to do was wrap the code in   tags...
To my pleasure, it worked great...Now I can start doing the real dev :)</description> <content:encoded><![CDATA[<p>Great post&#8230;.<br
/> I used &#8220;most&#8221; of this code at BlueHost where my website is&#8230;</p><p>I used the Cgi-Bin folder for my website, and tweaked the obvious changes to the code for login, db, and sql query.  The other thing I had to do was wrap the code in   tags&#8230;<br
/> To my pleasure, it worked great&#8230;</p><p>Now I can start doing the real dev :)</p> ]]></content:encoded> </item> <item><title>By: Ashvin Gargav</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-30798</link> <dc:creator>Ashvin Gargav</dc:creator> <pubDate>Tue, 06 Mar 2012 13:31:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-30798</guid> <description>Hi, david thanks for this nice code..
I have a question
I use  this code
************************
echo &quot;&quot;;
print_r($posts);
************************
it gives me :Array
(
[0] =&gt; Array
(
[post] =&gt; Array
(
[userid] =&gt; 101
[posted_on] =&gt; 2011-12-31 05:50:05
[avatar] =&gt; images/avatar/S1_123111055005Iphone_Driver.jpg
[thumb] =&gt; images/avatar/S1_123111055005Iphone_Driver.jpg
[latitude] =&gt; 22.717985
[longitude] =&gt; 75.888658
[username] =&gt; S2
[email] =&gt; &#086;ani_&#115;&#097;chu&#049;&#064;y&#097;ho&#111;&#046;&#099;&#111;&#046;i&#110;
[distance] =&gt; 0.73
[Time] =&gt; 0
[RecordNo] =&gt; 10
))but i want to get that $post again how can i get it throuh any php function ??</description> <content:encoded><![CDATA[<p>Hi, david thanks for this nice code..<br
/> I have a question<br
/> I use  this code<br
/> ************************<br
/> echo &#8220;&#8221;;<br
/> print_r($posts);<br
/> ************************<br
/> it gives me :</p><p>Array<br
/> (<br
/> [0] =&gt; Array<br
/> (<br
/> [post] =&gt; Array<br
/> (<br
/> [userid] =&gt; 101<br
/> [posted_on] =&gt; 2011-12-31 05:50:05<br
/> [avatar] =&gt; images/avatar/S1_123111055005Iphone_Driver.jpg<br
/> [thumb] =&gt; images/avatar/S1_123111055005Iphone_Driver.jpg<br
/> [latitude] =&gt; 22.717985<br
/> [longitude] =&gt; 75.888658<br
/> [username] =&gt; S2<br
/> [email] =&gt; <a
href="m&#97;&#105;lto&#58;&#86;&#97;n&#105;_&#115;&#97;&#99;&#104;&#117;&#49;&#64;y&#97;&#104;o&#111;.co.&#105;n">&#86;&#97;&#110;&#105;_s&#97;&#99;&#104;u&#49;&#64;&#121;a&#104;&#111;&#111;.&#99;o&#46;in</a><br
/> [distance] =&gt; 0.73<br
/> [Time] =&gt; 0<br
/> [RecordNo] =&gt; 10<br
/> )</p><p> )</p><p>but i want to get that $post again how can i get it throuh any php function ??</p> ]]></content:encoded> </item> <item><title>By: Bhavin</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-29253</link> <dc:creator>Bhavin</dc:creator> <pubDate>Wed, 15 Feb 2012 12:25:40 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-29253</guid> <description>Hi david,Great post man, This really help full for me thank&#039;s!</description> <content:encoded><![CDATA[<p>Hi david,</p><p>Great post man, This really help full for me thank&#8217;s!</p> ]]></content:encoded> </item> <item><title>By: Lil</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-29149</link> <dc:creator>Lil</dc:creator> <pubDate>Sat, 11 Feb 2012 03:51:15 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-29149</guid> <description>Thank you so much for this script. It is perfect for what I wanted to do.I had a little difficulty with the xml output running into errors. I found solutions on stackoverflow. This is what worked for me:$val = htmlentities($val);
$val = preg_replace(&quot;/&amp;#?[a-z0-9]{2,8};/i&quot;,&quot;&quot;,$val);
$val = preg_replace(&quot;/&amp;#?[a-z0-9]+;/i&quot;,&quot;&quot;,$val);
$val = html_entity_decode($val);</description> <content:encoded><![CDATA[<p>Thank you so much for this script. It is perfect for what I wanted to do.</p><p>I had a little difficulty with the xml output running into errors. I found solutions on stackoverflow. This is what worked for me:</p><p>$val = htmlentities($val);<br
/> $val = preg_replace(&#8220;/&amp;#?[a-z0-9]{2,8};/i&#8221;,&#8221;",$val);<br
/> $val = preg_replace(&#8220;/&amp;#?[a-z0-9]+;/i&#8221;,&#8221;",$val);<br
/> $val = html_entity_decode($val);</p> ]]></content:encoded> </item> <item><title>By: nikunj</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-29075</link> <dc:creator>nikunj</dc:creator> <pubDate>Tue, 07 Feb 2012 03:24:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-29075</guid> <description>Hi David gret info.Here I have created web service using nusoap php lib.Want to share here for php users as open source.&lt;code&gt;
&lt;a href=&quot;http://my-source-codes.blogspot.in/2011/10/php-web-service-return-array.html&quot; rel=&quot;nofollow&quot;&gt;web services using php&lt;/a&gt;
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Hi David gret info.</p><p>Here I have created web service using nusoap php lib.Want to share here for php users as open source.</p><p><code><br
/> <a
href="http://my-source-codes.blogspot.in/2011/10/php-web-service-return-array.html" rel="nofollow">web services using php</a><br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Rahul</title><link>http://davidwalsh.name/web-service-php-mysql-xml-json#comment-27719</link> <dc:creator>Rahul</dc:creator> <pubDate>Wed, 23 Nov 2011 05:45:02 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2324#comment-27719</guid> <description>Great Post... but how can i receive errors from server like &#039;Authentication  fail&#039; or something..</description> <content:encoded><![CDATA[<p>Great Post&#8230; but how can i receive errors from server like &#8216;Authentication  fail&#8217; or something..</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/7 queries in 0.008 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-24 03:11:08 -->
