<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:series="http://unfoldingneurons.com/"
><channel><title>David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞. &#187; Microsoft</title> <atom:link href="http://davidwalsh.name/tutorials/microsoft/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Sat, 04 Feb 2012 19:28:58 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>Application Pinning with META&#160;Tags</title><link>http://davidwalsh.name/msapplication-task</link> <comments>http://davidwalsh.name/msapplication-task#comments</comments> <pubDate>Mon, 14 Nov 2011 15:27:33 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=5327</guid> <description><![CDATA[If there&#8217;s one thing I want you to learn from the wide range of blog posts I&#8217;ve written, it&#8217;s that it&#8217;s the small things matter when you&#8217;re creating your websites. Whether it&#8217;s a one-page showcase, a business website, or an enterprise web application, there are always small details you can add that will really help [...]<p><a
href="http://davidwalsh.name/msapplication-task">Application Pinning with META&nbsp;Tags</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<img
src="http://davidwalsh.name/dw-content/app-pin.png" alt="Application Pin" class="image" /><p>If there&#8217;s one thing I want you to learn from the wide range of blog posts I&#8217;ve written, it&#8217;s that it&#8217;s the small things matter when you&#8217;re creating your websites.  Whether it&#8217;s a one-page showcase, a business website, or an enterprise web application, there are always small details you can add that will really help someone out&#8230;even if that someone is on a Windows PC.  One of those small details is setting your website up for &#8220;pinning&#8221;, a functionality that debuted in Windows 7.  Let me show you what it is and how you can implement it on your websites!</p><h2>META&nbsp;Tags</h2><p>There are a variety of META tags used.  Here are the base tags:</p><pre class="html">
&lt;meta name="application-name" content="David Walsh Blog" /&gt;
&lt;meta name="msapplication-tooltip" content="David Walsh Blog" /&gt;
&lt;meta name="msapplication-starturl" content="/" /&gt;
</pre><p>These initial tags provide basic information about the site to be pinned.  With those self-explanatory tags in place, you can now add &#8220;tasks&#8221; which can be links to any URL:</p><pre class="html">
&lt;!-- format:  name={};action-uri={};icon-uri={} --&gt;
&lt;meta name="msapplication-task" content="name=David Walsh Blog;action-uri=http://davidwalsh.name;icon-uri=http://davidwalsh.name/favicon.ico" /&gt;
&lt;meta name="msapplication-task" content="name=David Walsh on Twitter;action-uri=http://twitter.com/davidwalshblog;icon-uri=http://twitter.com/favicon.ico" /&gt;
&lt;meta name="msapplication-task" content="name=David Walsh on Facebook;action-uri=http://www.facebook.com/pages/David-Walsh-Blog/186644584869;icon-uri=https://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico" /&gt;
&lt;meta name="msapplication-task" content="name=David Walsh on LinkedIn;action-uri=http://il.linkedin.com/in/davidjameswalsh;icon-uri=http://linkedin.com/favicon.ico" /&gt;
</pre><p>For the purposes of a blog like mine, the tasks could be links to my Twitter feed, Facebook page, and my LinkedIn profile.  For a business website, tasks could be shortcuts to the user&#8217;s cart, different store departments, or a store locator!</p><p>As I mentioned above, this isn&#8217;t a groundbreaking website addition but it can be just another small detail that makes your website a bit more useful than the rest.  Providing users quick ways to accomplish tasks on your website makes your web application a bit more useful!</p><p><a
href="http://davidwalsh.name/msapplication-task">Application Pinning with META&nbsp;Tags</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/msapplication-task/feed</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Edge &amp; Mobile&#160;Browsers</title><link>http://davidwalsh.name/edge-mobile-browsers</link> <comments>http://davidwalsh.name/edge-mobile-browsers#comments</comments> <pubDate>Mon, 20 Jun 2011 14:29:03 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Mobile]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=5247</guid> <description><![CDATA[From a developer&#8217;s perspective, the Web is moving faster than ever. Thanks to reinvigorated browser vendors, frequent releases of new mobile devices, and our own need for better APIs and tools, we&#8217;re seeing loads of movement across each platform. Since browser venders like Mozilla, Chrome, Safari, Internet Explorer, and Opera know we need the ability [...]<p><a
href="http://davidwalsh.name/edge-mobile-browsers">Edge &#038; Mobile&nbsp;Browsers</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<img
src="http://davidwalsh.name/dw-content/my-browsers.png" alt="Web Browsers" class="image" /><p>From a developer&#8217;s perspective, the Web is moving faster than ever.  Thanks to reinvigorated browser vendors, frequent releases of new mobile devices, and our own need for better APIs and tools, we&#8217;re seeing loads of movement across each platform.  Since browser venders like Mozilla, Chrome, Safari, Internet Explorer, and Opera know we need the ability to test these features on desktop and mobile platforms, they have <em>mostly</em> been helpful in providing edge versions of their browsers.  This post will show you what each vendor provides in the way of edge versions, as well as how to get them.</p><p><em>Most browser vendors offer edge and/or mobile versions in Windows, Mac, and Linux flavors, but this post will focus on Mac offerings.  Their other OS counterparts are generally found in the same place.</em></p><h2>Mozilla:  Nightly &amp;&nbsp;Aurora</h2><img
src="http://davidwalsh.name/dw-content/browsers-aurora.png" alt="Mozilla Firefox Aurora" class="image" /><p>Mozilla Aurora is a sneak peak into the next few versions of Mozilla.  As of now (still within a few months of FireFox 4&#8242;s official release), Aurora is a snapshot of Firefox 6.  Aurora is full of APIs and features that will be introduced in future versions of Firefox, including a re-enabled Web Sockets, the Element.dataset API, and so on.  The nightly version is also available if you prefer to stick closer to the current version of Firefox.  Nightly can be updated each day while a new version of Aurora is available every few weeks.  Click the &#8220;Check For Updates&#8221; button within the &#8220;About&#8221; menu to update your version of each browser.</p><div
class="actions"> <a
href="http://www.mozilla.com/en-US/firefox/channel/" class="demo">Mozilla Aurora</a> <a
href="http://nightly.mozilla.org/" class="demo">Firefox Nightly</a><div
class="clear"></div></div><h2>Mozilla Mobile Emulator &#8211;&nbsp;&#8220;Fennec&#8221;</h2><img
src="http://davidwalsh.name/dw-content/screen-start-mobile.png" alt="Firefox Mobile Fennec" class="image" /><p>Fennec is the codename for Mozilla&#8217;s mobile version of Firefox.  Firefox Mobile is available for Android-based devices, but you can test your website with the Fennec emulator, available on each desktop platform.</p><div
class="actions"><a
href="http://www.mozilla.com/en-US/mobile/download/" class="demo">Mozilla Mobile</a><div
class="clear"></div></div><h2>WebitKit&nbsp;Nighty</h2><img
src="http://davidwalsh.name/dw-content/browsers-webnightly.png" alt="Webkit Nightly" class="image" /><p>WebKit Nightly offers a complication of a nightly snapshot of the WebKit codebase.  At the time of publish, radial gradients are not supported by Safari but I was able to test them using Webkit Nightly.  Webkit Nightly prompts you to update each day.  WebKit Nightly could be considered a a beta for Safari.</p><div
class="actions"><a
href="http://nightly.webkit.org/" class="demo">WebKit Nightly</a><div
class="clear"></div></div><h2>Chrome Canary &amp;&nbsp;Chromium</h2><img
src="http://davidwalsh.name/dw-content/browsers-canary.png" alt="Chrome Canary" class="image" /><p>Google Chrome Canary is a mesh between Google Chrome and the <a
href="http://www.chromium.org/">Chromium project</a>, which is bleeding edge.  Much like Mozilla&#8217;s Aurora, Chrome Canary is two to four versions ahead of the current release. <a
href="http://www.makeuseof.com/tag/google-chrome-canary-technology-explained/">Click here</a> to read the story behind the name  &#8220;Canary&#8221;.  Open the About dialog to update your version of Canary.  If you feel up to it, you can instead create a custom build of the Chromium trunk.</p><div
class="actions"> <a
href="http://tools.google.com/dlpage/chromesxs" class="demo">Chrome Canary</a> <a
href="http://www.chromium.org/Home" class="demo">Chromium</a><div
class="clear"></div></div><h2>Opera&nbsp;Next</h2><img
src="http://davidwalsh.name/dw-content/browsers-operanext.png" alt="Opera Next" class="image" /><p>Opera Next is the pre-release version of the Opera browser. The latest alphas and betas are automatically installed, so you can try out Opera&#8217;s latest technologies.  What I love about Next is that while Opera often releases snapshots, Next meshes those in automatically.</p><div
class="actions"><a
href="http://my.opera.com/desktopteam/blog/swordfish-and-opera-next" class="demo">Opera Next</a><div
class="clear"></div></div><h2>Opera Mobile&nbsp;Emulator</h2><img
src="http://davidwalsh.name/dw-content/browsers-opera-mobile.png" alt="Opera Mobile" class="image" /><p>I wasn&#8217;t surprised to see that Opera was looking to offer a mobile solution, but I was pleasantly surprised as to how awesome Opera mobile was.  Had Opera mobile been disappointing, I wouldn&#8217;t have considered trying to support it for my website.  What I also like about Opera Mobile is they provided a nice emulator app, unlike the Android emulators.</p><div
class="actions"><a
href="http://www.opera.com/developer/tools/mobile/" class="demo">Mobile Opera</a><div
class="clear"></div></div><p><em>Note:  I also have an Opera wii emulator but I couldn&#8217;t find where I got it so I have not included it within this post.</em></p><h2>Legacy Safari&nbsp;Installs</h2><img
src="http://davidwalsh.name/dw-content/browsers-oldsafari.png" alt="Safari 3" class="image" /><p>The <a
href="http://michelf.com/projects/multi-safari/">Multi-Safari</a> project provides multiple versions of Safari that you can test your websites against.  This proved extremely helpful for me when I needed to support Safari 4 and 5, right around the original Safari 5 release.  Provided you have a compatible operating system, you can get the original version of Safari!</p><div
class="actions"><a
href="http://michelf.com/projects/multi-safari/" class="demo">Multi-Safari</a><div
class="clear"></div></div><p>Live on the bleeding edge of web development by testing and experimenting with code by using these edge browsers.  Let me know if you have suggestions for additions to this page!</p><p><a
href="http://davidwalsh.name/edge-mobile-browsers">Edge &#038; Mobile&nbsp;Browsers</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/edge-mobile-browsers/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Turn Internet Explorer into Chrome with Chrome&#160;Frame</title><link>http://davidwalsh.name/chrome-frame</link> <comments>http://davidwalsh.name/chrome-frame#comments</comments> <pubDate>Wed, 23 Sep 2009 02:00:59 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=3787</guid> <description><![CDATA[I&#8217;m just going to cut to the chase: Internet Explorer is rubbish. I don&#8217;t care what version you throw at me &#8212; 6, 7, 8&#8230;rubbish. Apparently Google agrees with me because they&#8217;ve released Google Chrome Frame, a browser plugin and META tag system that allows you to turn IE installs into a virtual &#8220;Chrome&#8221; install [...]<p><a
href="http://davidwalsh.name/chrome-frame">Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<img
src="http://davidwalsh.name/dw-content/chrome-logo.png" alt="Google Chrome" class="image" /><p>I&#8217;m just going to cut to the chase:  Internet Explorer is rubbish.  I don&#8217;t care what version you throw at me &#8212; 6, 7, 8&#8230;rubbish.  Apparently Google agrees with me because they&#8217;ve released Google Chrome Frame, a browser plugin and META tag system that allows you to turn IE installs into a virtual &#8220;Chrome&#8221; install so that IE will support HTML5&#8242;s canvas tag and take advantage of JavaScript performance improvements featured in Google Chrome.</p><h2>Step 1:  The&nbsp;Plugin</h2><p>The user must first download the Chrome Frame plugin at the <a
href="http://code.google.com/chrome/chromeframe/">Google Chrome Frame page</a>.  The install works on XP and Vista operating systems, IE browser versions 6, 7, and 8.</p><h2>Step 2:  The HTML META&nbsp;tag</h2><p>To activate Chromified Internet Explorer you must add the following META tag to your pages:</p><pre class="html">
&lt;meta http-equiv="X-UA-Compatible" content="chrome=1" /&gt;
</pre><p>That&#8217;s it!  Check out a demo here:</p><div
class="actions"><a
href="http://davidwalsh.name/dw-content/chrome-frame.php" class="demo">View Demo</a><div
class="clear"></div></div><h2>More&nbsp;Details</h2><p>Jump over to the <a
href="http://code.google.com/chrome/chromeframe/">Google Chrome Frame page</a> to get more details about this project.  There&#8217;s a great video featuring Alex Russell (of Dojo fame) where he explains the reason for Chrome Frame and usage.</p><h2>Our&nbsp;Savior?</h2><p>I don&#8217;t believe so.  There are two big problems I see:</p><ul><li>Most IT teams are keeping their businesses employees in the dark world of IE6.  Chrome Frame would be a great solution for employees looking to get with the 90&#8242;s but how many businesses give their employees proper permissions to install applications?  No many.</li><li>Users who don&#8217;t know the difference wont put an effort into downloading this plugin (i.e. my grandmother doesn&#8217;t even know what a browser is, much less IE and why it&#8217;s bad).</li></ul><h2>Thoughts?</h2><p>I&#8217;m very interested in seeing what you all think of this.  Crap?  Gold?  Let me know what you think!</p><p><a
href="http://davidwalsh.name/chrome-frame">Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/chrome-frame/feed</wfw:commentRss> <slash:comments>31</slash:comments> </item> <item><title>Making IE8 Emulate&#160;IE7</title><link>http://davidwalsh.name/ie8-emulate-ie7</link> <comments>http://davidwalsh.name/ie8-emulate-ie7#comments</comments> <pubDate>Fri, 20 Mar 2009 12:55:27 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=1891</guid> <description><![CDATA[As you probably know, Microsoft Internet Explorer 8 was &#8220;officially&#8221; released yesterday. If you were caught off guard by this and haven&#8217;t had time to test your sites in IE8, don&#8217;t lose sleep; you can make IE8 render pages like IE7 using a simple META tag. The&#160;XHTML &#60;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&#62; It doesn&#8217;t get much [...]<p><a
href="http://davidwalsh.name/ie8-emulate-ie7">Making IE8 Emulate&nbsp;IE7</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<p>As you probably know, Microsoft Internet Explorer 8 was &#8220;officially&#8221; released yesterday.  If you were caught off guard by this and haven&#8217;t had time to test your sites in IE8, don&#8217;t lose sleep;  you can make IE8 render pages like IE7 using a simple META tag.</p><h2>The&nbsp;XHTML</h2><pre class="html">
&lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&gt;
</pre><p>It doesn&#8217;t get much easier than that.  Don&#8217;t use this functionality as a crutch for too long though!</p><p><a
href="http://davidwalsh.name/ie8-emulate-ie7">Making IE8 Emulate&nbsp;IE7</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/ie8-emulate-ie7/feed</wfw:commentRss> <slash:comments>50</slash:comments> </item> <item><title>Sizzle and Peppy Selector Engines in&#160;MooTools</title><link>http://davidwalsh.name/mootools-peppy-sizzle</link> <comments>http://davidwalsh.name/mootools-peppy-sizzle#comments</comments> <pubDate>Tue, 24 Feb 2009 13:28:59 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=1690</guid> <description><![CDATA[A few weeks back I touched on how you could implement the Peppy and Sizzle selector engines in MooTools. Both posts showed how to remove the default Moo engine from use and instead make each respective selector engine the one and only. It doesn&#8217;t have to be that way. You could use all three engines [...]<p><a
href="http://davidwalsh.name/mootools-peppy-sizzle">Sizzle and Peppy Selector Engines in&nbsp;MooTools</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<p>A few weeks back I touched on how you could implement the <a
href="http://davidwalsh.name/peppy-mootools">Peppy</a> and <a
href="http://davidwalsh.name/mootools-sizzle">Sizzle</a> selector engines in MooTools.  Both posts showed how to remove the default Moo engine from use and instead make each respective selector engine the one and only.  It doesn&#8217;t have to be that way.  You could use all three engines within the page as well.</p><h2>Peppy, Sizzle, and Moo&nbsp;Together</h2><pre class="js">
//assuming that the JavaScript files we brought in via simple XHTML above...

/* MooTools */
var divs = $$('div');

/* Sizzle */
Window.$Sizzle = function(selector){
	return new Elements(new Sizzle(selector));
}
//sizzle usage
var divs = $Sizzle('div');

/* Peppy */
Window.$Peppy = function(selector){
	return new Elements(new peppy.query(selector));
}
//Peppy usage
var divs = $Peppy('div');
</pre><p>Why do this?  Each engine has its advantages.  Sizzle generally does better with Internet Explorer so if you detect that the user is using IE, you may want to use Sizzle to grab the elements instead.</p><p>In most cases the overhead of bringing in each engine makes this strategy overkill.  It&#8217;s definitely an option though.</p><p><a
href="http://davidwalsh.name/mootools-peppy-sizzle">Sizzle and Peppy Selector Engines in&nbsp;MooTools</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/mootools-peppy-sizzle/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>PHP, Microsoft SQL Server (MSSQL), and IIS:  Connect and Query with&#160;ODBC</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc</link> <comments>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comments</comments> <pubDate>Thu, 31 Jul 2008 12:49:36 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Hosting / Domain]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[PHP]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=288</guid> <description><![CDATA[I was recently thrown a real curveball of a project. Instead of using a fresh MySQL database to pull information from, the customer required that we pull information from their new Microsoft SQL Server 2005 server. This isn&#8217;t the most desired method of PHP-&#62;Database interactivity but that&#8217;s what the project called for and that&#8217;s what [...]<p><a
href="http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc">PHP, Microsoft SQL Server (MSSQL), and IIS:  Connect and Query with&nbsp;ODBC</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<p>I was recently thrown a real curveball of a project.  Instead of using a fresh MySQL database to pull information from, the customer required that we pull information from their new Microsoft SQL Server 2005 server.  This isn&#8217;t the most desired method of PHP-&gt;Database interactivity but that&#8217;s what the project called for and that&#8217;s what I needed to do.  Here&#8217;s how to get things going.</p><h2>Connecting to Microsoft SQL Server 2005 from&nbsp;PHP</h2><pre  class="php">
// the "driver" first
$virtual_dsn = 'DRIVER={SQL Server};SERVER=database.domain.org,45277;DATABASE=MyDatabase';
$connection = odbc_connect($virtual_dsn,'Username','Password') or die('ODBC Error:: '.odbc_error().' :: '.odbc_errormsg().' :: '.$virtual_dsn);
</pre><h2>Choose Which&nbsp;Database</h2><pre  class="php">odbc_exec($connection,'USE MYDB');</pre><h2>Executing a&nbsp;Query</h2><pre  class="php">$result = odbc_exec($connection, 'SELECT FirstName FROM Names');</pre><h2>Using the Query&nbsp;Result</h2><pre  class="php">$first_name = odbc_result($result, 'FirstName')</pre><h2>Querying Tables and Columns with&nbsp;Spaces</h2><pre  class="php">
// use brackets [] for tables and colums with spaces
$result = odbc_exec($connection, 'SELECT [First Name] FROM [Names Table]');
</pre><p>Like I said, while this isn&#8217;t the most desirable setup in the world, it will do.  Big ups to <a
href="http://www.hostway.com/" rel="nofollow" target="_blank">Hostway</a> for their help in configuring the server; they provided everything we needed.</p><p>To learn more about the ODBC functions, visit <a
href="http://php.net/odbc" rel="nofollow" target="_blank">PHP.net</a></p><p><a
href="http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc">PHP, Microsoft SQL Server (MSSQL), and IIS:  Connect and Query with&nbsp;ODBC</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc/feed</wfw:commentRss> <slash:comments>19</slash:comments> </item> <item><title>IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&#160;&#8220;WTF?&#8221;</title><link>http://davidwalsh.name/internet-explorer-cannot-open-internet-site</link> <comments>http://davidwalsh.name/internet-explorer-cannot-open-internet-site#comments</comments> <pubDate>Fri, 04 Apr 2008 12:52:46 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/internet-explorer-cannot-open-internet-site</guid> <description><![CDATA[During the development of a recent website, I fitted the site with some awesome MooTools effects. Per usual, I would check each page with Firefox and once the page looked good, I&#8217;d switch over to Internet Explorer to make sure the site looked the same. That&#8217;s where the problem began. Periodically, I would get a [...]<p><a
href="http://davidwalsh.name/internet-explorer-cannot-open-internet-site">IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<p>During the development of a recent website, I fitted the site with some awesome MooTools effects.  Per usual, I would check each page with Firefox and once the page looked good, I&#8217;d switch over to Internet Explorer to make sure the site looked the same.  That&#8217;s where the problem began.</p><p>Periodically, I would get a JavaScript-like alert box that said &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted,&#8221; as show below:</p><p><img
src="http://davidwalsh.name/dw-content/ie-abort.jpg" /></p><p>After doing some research, I found a post by MooTools dev Aaron Newton that explained why the problem was occuring:</p><blockquote><p> IE does this when you attempt to modify a DOM element before it is closed. This means that if you try and append a child element to another and that other element (like the document.body) is still loading, you&#8217;ll get this error. This will occur if you use .appendChild (which in Mootools includes .adopt, .injectInside, .injectBefore, etc.) or if you use Element.innerHTML = &#8220;&#8221; (or in Mootools, the .setHTML method).</p></blockquote><p> The fix is quite simple:  don&#8217;t do any processing until the DOM is ready.</p><pre  class="js">window.addEvent('domready', function(){
  //do stuff
});</pre><p><a
href="http://clientside.cnet.com/code-snippets/manipulating-the-dom/ie-and-operation-aborted/" target="_blank" rel="nofollow">Click here</a> to read Aaron&#8217;s full post.  The moral of the story is not to modify elements that haven&#8217;t fully loaded!</p><p><a
href="http://davidwalsh.name/internet-explorer-cannot-open-internet-site">IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/internet-explorer-cannot-open-internet-site/feed</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>Override Vista and XP&#8217;s Themed Buttons and Scrollbars Using a META&#160;Tag</title><link>http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag</link> <comments>http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag#comments</comments> <pubDate>Wed, 26 Dec 2007 13:59:21 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag/</guid> <description><![CDATA[The first thing I do to any fresh Windows XP or Vista install is change the theme to old-school &#8220;Windows Classic&#8221; theme. Square gray boxes, in my opinion, are much better than the awful &#8220;rounded&#8221;, colored bars. The XP and Vista theme settings also bleed into Internet Explorer, shaping and color buttons in ways I [...]<p><a
href="http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag">Override Vista and XP&#8217;s Themed Buttons and Scrollbars Using a META&nbsp;Tag</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<p>The first thing I do to any fresh Windows XP or Vista install is change the theme to old-school &#8220;Windows Classic&#8221; theme.  Square gray boxes, in my opinion, are much better than the awful &#8220;rounded&#8221;, colored bars.  The XP and Vista theme settings also bleed into Internet Explorer, shaping and color buttons in ways I don&#8217;t want.</p><p>Luckily, using an HTML META tag, I can tell the browser to ignore the theme&#8217;s settings and show the standard, gray button.</p><pre  class="html">&lt;meta http-equiv="MSThemeCompatible" content="No"/&gt;</pre><p>I&#8217;m not advocating this, simply showing how it can be done.</p><p><a
href="http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag">Override Vista and XP&#8217;s Themed Buttons and Scrollbars Using a META&nbsp;Tag</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The First Year of IE7 &#8212; Still&#160;Hated</title><link>http://davidwalsh.name/first-year-ie7-hated</link> <comments>http://davidwalsh.name/first-year-ie7-hated#comments</comments> <pubDate>Fri, 07 Dec 2007 04:38:15 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/first-year-ie7-hated/</guid> <description><![CDATA[The IEBlog posted The First Year of IE7 today and lets just say that the comments are anything but positive. Check out the scathing comments: http://blogs.msdn.com/ie/archive/2007/11/30/the-first-year-of-ie7.aspxThe First Year of IE7 &#8212; Still&#160;Hated is a post from: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.<p><a
href="http://davidwalsh.name/first-year-ie7-hated">The First Year of IE7 &#8212; Still&nbsp;Hated</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<p>The IEBlog posted <em>The First Year of IE7</em> today and lets just say that the comments are anything but positive.  Check out the scathing comments:</p><p><a
href="http://blogs.msdn.com/ie/archive/2007/11/30/the-first-year-of-ie7.aspx" target="_blank" rel="nofollow">http://blogs.msdn.com/ie/archive/2007/11/30/the-first-year-of-ie7.aspx</a></p><p><a
href="http://davidwalsh.name/first-year-ie7-hated">The First Year of IE7 &#8212; Still&nbsp;Hated</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/first-year-ie7-hated/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Prevent Double Margin &amp; Padding In IE6 When Using CSS&#160;Float</title><link>http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float</link> <comments>http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float#comments</comments> <pubDate>Wed, 28 Nov 2007 14:16:46 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float/</guid> <description><![CDATA[My thoughts on Internet Explorer have been well documented; for those that don&#8217;t already know, I think IE hinders the internet&#8217;s progress and represents another embarrassment for Microsoft. That said, a majority of users still browse with Internet Explorer 6 so it&#8217;s important to make sure our customers&#8217; websites look good in the browser. One [...]<p><a
href="http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float">Prevent Double Margin &#038; Padding In IE6 When Using CSS&nbsp;Float</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></description> <content:encoded><![CDATA[<p>My thoughts on Internet Explorer have been <a
href="http://davidwalsh.name/6-reasons-why-ie6-must-die/" target="_blank" rel="nofollow">well documented</a>;  for those that don&#8217;t already know, I think IE hinders the internet&#8217;s progress and represents another embarrassment for Microsoft.  That said, a majority of users still browse with Internet Explorer 6 so it&#8217;s important to make sure our customers&#8217; websites look good in the browser.</p><p>One of IE6&#8242;s glaring mistakes is producing double padding and/or double margin when using the respective property on two floating DIVs that fall next to each other.  Since I build websites using all DIVs, I run into this problem with every framework I create.</p><h2>The&nbsp;Problem</h2><p>The above title is misleading, as my code isn&#8217;t the problem &#8212; IE6 is.  That said, the following code alone isn&#8217;t good enough:</p><pre  class="css">#global-column-1			{ margin:0 0 0 33px; padding:0 20px 0 0; width:255px; float:left; }
#global-column-2			{ margin:0 0 30px 30px; width:250px; float:left; }</pre><p>The above code will result in double padding in IE6.</p><h2>The&nbsp;Solution</h2><p>Use IE6-only CSS code to fix the problem in that browser.</p><pre  class="css">#global-column-1			{ margin:0 0 0 33px; padding:0 20px 0 0; width:255px; float:left; } * html #global-column-1 { display:inline; }
#global-column-2			{ margin:0 0 30px 30px; width:250px; float:left; }</pre><p>The &#8220;* html #global-column-1&#8243; declaration is only viewed by IE6.  The&#8221;display:inline;&#8221; code actually corrects the double spacing.</p><p>Shouldn&#8217;t developers and the browser creators be working together?  Apparently not, as Microsoft never fixed this issue.</p><p><a
href="http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float">Prevent Double Margin &#038; Padding In IE6 When Using CSS&nbsp;Float</a> is a post from: <a
href="http://davidwalsh.name">David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</a></p> ]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float/feed</wfw:commentRss> <slash:comments>20</slash:comments> </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/55 queries in 0.022 seconds using disk: basic
Object Caching 1434/1527 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-08 13:52:30 -->
