<?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/"
	>

<channel>
	<title>Figer&#039;s Technology Consulting</title>
	<atom:link href="http://www.figers.com/Blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.figers.com/Blog</link>
	<description>A tech firm spawned for the upwardly mobile</description>
	<lastBuildDate>Thu, 17 May 2012 04:35:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>dynamic ascx user control button event handler not firing &#8211; fix</title>
		<link>http://www.figers.com/Blog/2012/05/17/dynamic-ascx-user-control-button-event-handler-not-firing-fix/</link>
		<comments>http://www.figers.com/Blog/2012/05/17/dynamic-ascx-user-control-button-event-handler-not-firing-fix/#comments</comments>
		<pubDate>Thu, 17 May 2012 04:34:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=95</guid>
		<description><![CDATA[
Remember to assign the control and ID and in the controls  Page_Load re-assign that ID
Dim ClinControl As OOClinicianRecord = Page.LoadControl(&#8220;~/OO/CareTeam/OOClinicianRecord.ascx&#8221;)
ClinControl.ID = &#8220;OOClinRecord&#8221;
newItemPanel.Controls.Add(ClinControl)
then in OOClinicianRecord.ascx.vb

Private Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
Me.ID = &#8220;OOClinRecord&#8221;
End Sub

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.figers.com/Blog/wp-content/uploads/2012/05/dynamic.jpg"><img class="aligncenter size-full wp-image-96" title="dynamic" src="http://www.figers.com/Blog/wp-content/uploads/2012/05/dynamic.jpg" alt="" width="400" height="300" /></a></p>
<p><strong>Remember to assign the control and ID and in the controls  Page_Load re-assign that ID</strong></p>
<p>Dim ClinControl As OOClinicianRecord = Page.LoadControl(&#8220;~/OO/CareTeam/OOClinicianRecord.ascx&#8221;)<br />
ClinControl.ID = &#8220;OOClinRecord&#8221;<br />
newItemPanel.Controls.Add(ClinControl)</p>
<div>then in OOClinicianRecord.ascx.vb</div>
<div>
<div>Private Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load</div>
<div>Me.ID = &#8220;OOClinRecord&#8221;</div>
<div>End Sub</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2012/05/17/dynamic-ascx-user-control-button-event-handler-not-firing-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a JQuery CSS imageless button and calling it from .NET code behind</title>
		<link>http://www.figers.com/Blog/2012/02/23/creating-a-jquery-css-imageless-button-and-calling-it-from-net-code-behind/</link>
		<comments>http://www.figers.com/Blog/2012/02/23/creating-a-jquery-css-imageless-button-and-calling-it-from-net-code-behind/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 14:24:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=81</guid>
		<description><![CDATA[
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
Add this style to the page
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
&#60;style&#62;
.myButton {
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=&#8217;#ededed&#8217;, endColorstr=&#8217;#dfdfdf&#8217;);
background-color:#ededed;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #dcdcdc;
display:inline-block;
color:#777777;
font-family:arial;
font-size:15px;
font-weight:bold;
padding:6px 24px;
text-decoration:none;
text-shadow:1px 1px 0px #ffffff;
}.myButton:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.figers.com/Blog/wp-content/uploads/2012/02/SP32-20120222-121413.jpg"><img class="aligncenter size-full wp-image-82" title="SP32-20120222-121413" src="http://www.figers.com/Blog/wp-content/uploads/2012/02/SP32-20120222-121413.jpg" alt="" width="154" height="100" /></a><a href="http://www.figers.com/Blog/wp-content/uploads/2012/02/ddsmoothmenu.css"></a></p>
<p style="text-align: left;"><span style="font-weight: bold;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<p><strong>Add this style to the page</strong></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<div id="_mcePaste">&lt;style&gt;</div>
<div id="_mcePaste">.myButton {</div>
<div id="_mcePaste">-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;</div>
<div id="_mcePaste">-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;</div>
<div id="_mcePaste">box-shadow:inset 0px 1px 0px 0px #ffffff;</div>
<div id="_mcePaste">background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );</div>
<div id="_mcePaste">background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );</div>
<div id="_mcePaste">filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=&#8217;#ededed&#8217;, endColorstr=&#8217;#dfdfdf&#8217;);</div>
<div id="_mcePaste">background-color:#ededed;</div>
<div id="_mcePaste">-moz-border-radius:6px;</div>
<div id="_mcePaste">-webkit-border-radius:6px;</div>
<div id="_mcePaste">border-radius:6px;</div>
<div id="_mcePaste">border:1px solid #dcdcdc;</div>
<div id="_mcePaste">display:inline-block;</div>
<div id="_mcePaste">color:#777777;</div>
<div id="_mcePaste">font-family:arial;</div>
<div id="_mcePaste">font-size:15px;</div>
<div id="_mcePaste">font-weight:bold;</div>
<div id="_mcePaste">padding:6px 24px;</div>
<div id="_mcePaste">text-decoration:none;</div>
<div id="_mcePaste">text-shadow:1px 1px 0px #ffffff;</div>
<div id="_mcePaste">}.myButton:hover {</div>
<div id="_mcePaste">background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );</div>
<div id="_mcePaste">background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );</div>
<div id="_mcePaste">filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=&#8217;#dfdfdf&#8217;, endColorstr=&#8217;#ededed&#8217;);</div>
<div id="_mcePaste">background-color:#dfdfdf;</div>
<div id="_mcePaste">}.myButton:active {</div>
<div id="_mcePaste">position:relative;</div>
<div id="_mcePaste">top:1px;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">&lt;/style&gt;</div>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>Add this as your button to the page</strong></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>&lt;a href=&#8221;#&#8221; id=&#8221;testbutton&#8221; runat=&#8221;server&#8221; title=&#8221;Test Button&#8221; class=&#8221;myButton&#8221;&gt;test button&lt;/a&gt;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>Add this as your event handler to the code behind (using vb.net in this example)</strong></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Private Sub CmdTestButtonClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles testbutton.ServerClick</p>
<p>Dim i As String = &#8220;&#8221; &#8216;This is just test code to add a break to and confirm it gets caught here when you attach the debugger</p>
<p>&#8216;End Sub</p>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2012/02/23/creating-a-jquery-css-imageless-button-and-calling-it-from-net-code-behind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use ASP.NET AjaxControlToolkit</title>
		<link>http://www.figers.com/Blog/2011/12/18/how-to-use-asp-net-ajaxcontroltoolkit/</link>
		<comments>http://www.figers.com/Blog/2011/12/18/how-to-use-asp-net-ajaxcontroltoolkit/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 05:16:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=76</guid>
		<description><![CDATA[
Follow these steps to install the AjaxControlToolkit into your Visual Studio enviroment: http://www.asp.net/ajaxlibrary/act.ashx
Here is an example of the PopupExtender control
 
Include:
&#60;%@ Register Assembly=&#8221;AjaxControlToolkit&#8221; Namespace=&#8221;AjaxControlToolkit&#8221; TagPrefix=&#8221;asp&#8221; %&#62;
Javascript function to close the pop-up:
function hideajaxpop() {
var bh = $find(&#8220;PopEx&#8221;);
bh.hidePopup();
}
ASP.NET controls to make the pop-up work:
&#60;asp:HyperLink ID=&#8221;HyperLink1&#8243; runat=&#8221;server&#8221; Font-Underline=&#8221;True&#8221;&#62;Add Patient&#60;/asp:HyperLink&#62;
&#60;asp:Panel ID=&#8221;pnlPatientSignup&#8221; runat=&#8221;server&#8221; Style=&#8221;display: none&#8221;&#62;
&#60;div&#62;
&#60;a onclick=&#8221;hideajaxpop(); return false;&#8221; title=&#8221;Close&#8221;&#62;X&#60;/a&#62;
&#60;/div&#62;
&#60;uc3:ClinSignUpPatient ID=&#8221;ClinSignUpPatient1&#8243; runat=&#8221;server&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.figers.com/Blog/wp-content/uploads/2011/12/Logo.png"><img class="aligncenter size-full wp-image-77" title="Logo" src="http://www.figers.com/Blog/wp-content/uploads/2011/12/Logo.png" alt="" width="489" height="245" /></a></p>
<p>Follow these steps to install the AjaxControlToolkit into your Visual Studio enviroment: <a href="http://www.asp.net/ajaxlibrary/act.ashx">http://www.asp.net/ajaxlibrary/act.ashx</a></p>
<p><strong>Here is an example of the PopupExtender control</strong></p>
<p><strong> </strong><br />
<strong>Include:</strong><br />
&lt;%@ Register Assembly=&#8221;AjaxControlToolkit&#8221; Namespace=&#8221;AjaxControlToolkit&#8221; TagPrefix=&#8221;asp&#8221; %&gt;</p>
<div id="_mcePaste"><strong>Javascript function to close the pop-up:</strong><br />
function hideajaxpop() {</div>
<div id="_mcePaste">var bh = $find(&#8220;PopEx&#8221;);</div>
<div id="_mcePaste">bh.hidePopup();</div>
<div id="_mcePaste">}</div>
<div><strong>ASP.NET controls to make the pop-up work:</strong></div>
<div id="_mcePaste">&lt;asp:HyperLink ID=&#8221;HyperLink1&#8243; runat=&#8221;server&#8221; Font-Underline=&#8221;True&#8221;&gt;Add Patient&lt;/asp:HyperLink&gt;</div>
<div id="_mcePaste">&lt;asp:Panel ID=&#8221;pnlPatientSignup&#8221; runat=&#8221;server&#8221; Style=&#8221;display: none&#8221;&gt;</div>
<div id="_mcePaste">&lt;div&gt;</div>
<div id="_mcePaste">&lt;a onclick=&#8221;hideajaxpop(); return false;&#8221; title=&#8221;Close&#8221;&gt;X&lt;/a&gt;</div>
<div id="_mcePaste">&lt;/div&gt;</div>
<div id="_mcePaste">&lt;uc3:ClinSignUpPatient ID=&#8221;ClinSignUpPatient1&#8243; runat=&#8221;server&#8221; /&gt;</div>
<div id="_mcePaste">&lt;/asp:Panel&gt;</div>
<div id="_mcePaste">&lt;asp:ToolkitScriptManager ID=&#8221;ToolkitScriptManager1&#8243; runat=&#8221;server&#8221;&gt;</div>
<div id="_mcePaste">&lt;/asp:ToolkitScriptManager&gt;</div>
<div id="_mcePaste">&lt;asp:PopupControlExtender ID=&#8221;PopEx&#8221; runat=&#8221;server&#8221;</div>
<div id="_mcePaste">TargetControlID=&#8221;HyperLink1&#8243;</div>
<div id="_mcePaste">PopupControlID=&#8221;pnlPatientSignup&#8221;</div>
<div id="_mcePaste">Position=&#8221;Bottom&#8221; /&gt;</div>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2011/12/18/how-to-use-asp-net-ajaxcontroltoolkit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determine what part of your site is actually used</title>
		<link>http://www.figers.com/Blog/2011/10/26/determine-what-part-of-your-site-is-actually-used/</link>
		<comments>http://www.figers.com/Blog/2011/10/26/determine-what-part-of-your-site-is-actually-used/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 19:26:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=72</guid>
		<description><![CDATA[
Why put your development effort / dollars into areas of the site / web application no one is using. Or use this to question areas you are developing and verbally ask clients why they don&#8217;t use a certain portion of your site, you might find out only a small change makes all the difference in [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.figers.com/Blog/wp-content/uploads/2011/10/google-analytics.png"><img class="aligncenter size-full wp-image-73" title="google-analytics" src="http://www.figers.com/Blog/wp-content/uploads/2011/10/google-analytics.png" alt="" width="300" height="225" /></a></p>
<p>Why put your development effort / dollars into areas of the site / web application no one is using. Or use this to question areas you are developing and verbally ask clients why they don&#8217;t use a certain portion of your site, you might find out only a small change makes all the difference in the world to your client.</p>
<p>Google analytics is a great tool to determine where users are going and what they&#8217;re doing on your site. On top of the typical usage on seeing which pages get hit, here is the necessary code to see which buttons get clicked or any other event on your site.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Place this in the &lt;head&gt; tag of your page (use your correct Account ID, the rest will stay the same)</p>
<div id="_mcePaste">&lt;script type=&#8221;text/javascript&#8221;&gt;</div>
<div id="_mcePaste">var _gaq = _gaq || [];</div>
<div id="_mcePaste">_gaq.push(['_setAccount', 'UA-1111111-1']);</div>
<div id="_mcePaste">_gaq.push(['_setDomainName', 'none']);</div>
<div id="_mcePaste">_gaq.push(['_setAllowLinker', true]);</div>
<div id="_mcePaste">_gaq.push(['_trackPageview']);</div>
<div id="_mcePaste">(function () {</div>
<div id="_mcePaste">var ga = document.createElement(&#8217;script&#8217;); ga.type = &#8216;text/javascript&#8217;; ga.async = true;</div>
<div id="_mcePaste">ga.src = (&#8216;https:&#8217; == document.location.protocol ? &#8216;https://ssl&#8217; : &#8216;http://www&#8217;) + &#8216;.google-analytics.com/ga.js&#8217;;</div>
<div id="_mcePaste">var s = document.getElementsByTagName(&#8217;script&#8217;)[0]; s.parentNode.insertBefore(ga, s);</div>
<div id="_mcePaste">})();</div>
<div id="_mcePaste">&lt;/script&gt;</div>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var _gaq = _gaq || [];            _gaq.push(['_setAccount', 'UA-1145632-1']);            _gaq.push(['_setDomainName', 'none']);            _gaq.push(['_setAllowLinker', true]);            _gaq.push(['_trackPageview']);<br />
(function () {                var ga = document.createElement(&#8217;script&#8217;); ga.type = &#8216;text/javascript&#8217;; ga.async = true;                ga.src = (&#8216;https:&#8217; == document.location.protocol ? &#8216;https://ssl&#8217; : &#8216;http://www&#8217;) + &#8216;.google-analytics.com/ga.js&#8217;;                var s = document.getElementsByTagName(&#8217;script&#8217;)[0]; s.parentNode.insertBefore(ga, s);            })();<br />
&lt;/script&gt;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Place this in the hyperlink or button&#8217;s onclick event (ClickDescHere is what will show up in Google Analytics), if you have multiple subdomains like we have Google even breaks down the click events for you by hostname.</p>
<p>onclick=&#8221;_gaq.push(['_trackEvent', 'ClickDescHere']);&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2011/10/26/determine-what-part-of-your-site-is-actually-used/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP / MySQL &#8211; Upload a file to access later</title>
		<link>http://www.figers.com/Blog/2011/06/01/php-mysql-upload-a-file-to-access-later/</link>
		<comments>http://www.figers.com/Blog/2011/06/01/php-mysql-upload-a-file-to-access-later/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 14:33:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=65</guid>
		<description><![CDATA[In this example I am uploading to the file system, but saving the location in mySQL to reference later.

&#60;form action=&#8221;insert.php&#8221; enctype=&#8221;multipart/form-data&#8221; method=&#8221;post&#8221;&#62;
&#60;input name=&#8221;MAX_FILE_SIZE&#8221; type=&#8221;hidden&#8221; value=&#8221;20000000&#8243; /&#62;
&#60;input name=&#8221;fileupload&#8221; type=&#8221;file&#8221; /&#62;
&#60;input alt=&#8221;Submit Form&#8221;/&#62;
&#60;/form&#62;
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
 
//Database variables are located with-in hereinclude(&#8220;dataconnection.php&#8221;);
$con = mysql_connect($hostname, $username, $password);if (!$con){ die(&#8216;Could not connect: &#8216;); }
$selected = mysql_select_db($dbname);
//Generate Random Number &#38; date to add [...]]]></description>
			<content:encoded><![CDATA[<p>In this example I am uploading to the file system, but saving the location in mySQL to reference later.</p>
<p><a href="http://www.figers.com/Blog/wp-content/uploads/2011/06/File-Upload.jpg"><img class="aligncenter size-full wp-image-66" title="File Upload" src="http://www.figers.com/Blog/wp-content/uploads/2011/06/File-Upload.jpg" alt="" width="256" height="256" /></a></p>
<div id="_mcePaste">&lt;form action=&#8221;insert.php&#8221; enctype=&#8221;multipart/form-data&#8221; method=&#8221;post&#8221;&gt;</div>
<div id="_mcePaste">&lt;input name=&#8221;MAX_FILE_SIZE&#8221; type=&#8221;hidden&#8221; value=&#8221;20000000&#8243; /&gt;</div>
<div id="_mcePaste">&lt;input name=&#8221;fileupload&#8221; type=&#8221;file&#8221; /&gt;</div>
<div id="_mcePaste">&lt;input alt=&#8221;Submit Form&#8221;/&gt;</div>
<div id="_mcePaste">&lt;/form&gt;</div>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><span style="color: #444444; font-family: Arial, 'Trebuchet MS', sans-serif; line-height: 18px;"> </span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px;">//Database variables are located with-in here<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />include(&#8220;dataconnection.php&#8221;);</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px;">$con = mysql_connect($hostname, $username, $password);<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />if (!$con)<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />{ die(&#8216;Could not connect: &#8216;); }</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px;">$selected = mysql_select_db($dbname);</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px;">//Generate Random Number &amp; date to add to file name so they&#8217;re always unique<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />$rNumb=rand();<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />$today = getdate();<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />$id=$today['mon'].$today['mday'].$today['year'].&#8221; &#8220;.$rNumb;<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />$id2=str_replace(&#8221; &#8220;,&#8221;",$id);</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px;">//Move temp file auto created to permanent location<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />$uploadfile = &#8216;uploadfiles/&#8217; . $id2 . basename($_FILES['fileupload']['name']);<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />if (move_uploaded_file($_FILES['fileupload']['tmp_name'], $uploadfile)) { }<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />else {}</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px;">//Check to see if anything was uploaded, otherwise set variable to nothing<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />if($uploadfile == &#8216;uploadfiles/&#8217; . $id2)<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />{$uploadfile = &#8220;&#8221;;}</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px;">if (!mysql_query($sql,$con))<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />{ die(&#8216;There was an issue, please go back and try again, if it still happens please contact technical support&#8217;); }</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px;">mysql_close($con)<br style="outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" />?&gt;</p>
<p><!--?php //Database variables are located with-in here include("dataconnection.php"); $con = mysql_connect($hostname, $username, $password); if (!$con)   {  die('Could not connect: ');  } $selected = mysql_select_db($dbname); //Generate Random Number &#038; date to add to file name so they're always unique $rNumb=rand(); $today = getdate(); $id=$today['mon'].$today['mday'].$today['year']." ".$rNumb; $id2=str_replace(" ","",$id);   //Move temp file auto created to permanent location $uploadfile = 'uploadfiles/' . $id2 . basename($_FILES['fileupload']['name']); if (move_uploaded_file($_FILES['fileupload']['tmp_name'], $uploadfile)) { }  else {} //Check to see if anything was uploaded, otherwise set variable to nothing if($uploadfile == 'uploadfiles/' . $id2) {$uploadfile = "";} if (!mysql_query($sql,$con))   { die('There was an issue, please go back and try again, if it still happens please contact technical support'); } mysql_close($con) ?--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2011/06/01/php-mysql-upload-a-file-to-access-later/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; handling apostrophes</title>
		<link>http://www.figers.com/Blog/2011/06/01/php-handling-apostrophes/</link>
		<comments>http://www.figers.com/Blog/2011/06/01/php-handling-apostrophes/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 14:22:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=61</guid>
		<description><![CDATA[
Here is the code you&#8217;ll need to use to handle apostrophes, this just adds a backslash in front of the apostrophes
$myvariable = str_replace(&#8220;&#8216;&#8221;,&#8221;\&#8217;&#8221;,$myvariable);
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.figers.com/Blog/wp-content/uploads/2011/06/apostrophe2.png"><img src="http://www.figers.com/Blog/wp-content/uploads/2011/06/apostrophe2.png" alt="" title="apostrophe2" width="150" height="150" class="aligncenter size-full wp-image-62" /></a></p>
<p>Here is the code you&#8217;ll need to use to handle apostrophes, this just adds a backslash in front of the apostrophes</p>
<p>$myvariable = str_replace(&#8220;&#8216;&#8221;,&#8221;\&#8217;&#8221;,$myvariable);</p>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2011/06/01/php-handling-apostrophes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emailing from PHP</title>
		<link>http://www.figers.com/Blog/2011/06/01/emailing-from-php/</link>
		<comments>http://www.figers.com/Blog/2011/06/01/emailing-from-php/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 14:18:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=56</guid>
		<description><![CDATA[
about 98% of the time your web host will already have the php.ini file set up correctly so literally all it takes to email is this (if that&#8217;s not the case look here: http://www.php.net/manual/en/ref.mail.php#77499)
//Send Emails
$emailmessage = &#8220;Body of your message goes here, I put it in a variable because it&#8217;s usually very long.&#8221;;
 
mail($_POST[email], &#8220;Email Subject&#8221;, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.figers.com/Blog/wp-content/uploads/2011/06/email_example.jpg"><img class="aligncenter size-full wp-image-57" title="email_example" src="http://www.figers.com/Blog/wp-content/uploads/2011/06/email_example.jpg" alt="" width="400" height="344" /></a></p>
<p>about 98% of the time your web host will already have the php.ini file set up correctly so literally all it takes to email is this (if that&#8217;s not the case look here: <a href="http://www.php.net/manual/en/ref.mail.php#77499">http://www.php.net/manual/en/ref.mail.php#77499</a>)</p>
<div id="_mcePaste">//Send Emails</div>
<div id="_mcePaste">$emailmessage = &#8220;Body of your message goes here, I put it in a variable because it&#8217;s usually very long.&#8221;;</div>
<div> </div>
<div>mail($_POST[email], &#8220;Email Subject&#8221;, $emailmessage , &#8220;From: no@no.com&#8221; . &#8220;\r\n&#8221; .&#8221;bcc: lucas.baran@figers.com&#8221;);</div>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2011/06/01/emailing-from-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good looking dynamic buttons using vb.net</title>
		<link>http://www.figers.com/Blog/2011/02/15/good-looking-dynamic-buttons/</link>
		<comments>http://www.figers.com/Blog/2011/02/15/good-looking-dynamic-buttons/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 22:20:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=41</guid>
		<description><![CDATA[
There will be no grey border, that&#8217;s just a Wordpress thing&#8230;
button.aspx
&#8212;&#8212;&#8212;&#8212;&#8212;-
&#60;%@ Page Language=&#8221;vb&#8221; AutoEventWireup=&#8221;true&#8221; CodeBehind=&#8221;button.aspx.vb&#8221; Inherits=&#8221;dcsui.Dynamicbutton&#8221; %&#62;
&#60;%@ OutputCache VaryByParam=&#8221;m;t&#8221; Duration=&#8221;9123123&#8243; %&#62;
&#60;%@ Page Language=&#8221;vb&#8221; AutoEventWireup=&#8221;true&#8221; CodeBehind=&#8221;button.aspx.vb&#8221; Inherits=&#8221;dcsui.Dynamicbutton&#8221; %&#62;&#60;%@ OutputCache VaryByParam=&#8221;m;t&#8221; Duration=&#8221;9123123&#8243; %&#62;
button.aspx.vb
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
Partial Public Class Dynamicbutton
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim text As String = Me.Request.QueryString(&#8220;t&#8221;)
If String.IsNullOrEmpty(text) Then
Throw New ApplicationException(&#8220;The text url [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img style="margin: 0px;" src="http://www.figers.com/Blog/wp-content/uploads/2011/02/button-aspx-34.png" alt="" width="114" height="42" /></p>
<p style="text-align: center;">There will be no grey border, that&#8217;s just a Wordpress thing&#8230;</p>
<p>button.aspx<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<div id="_mcePaste">&lt;%@ Page Language=&#8221;vb&#8221; AutoEventWireup=&#8221;true&#8221; CodeBehind=&#8221;button.aspx.vb&#8221; Inherits=&#8221;dcsui.Dynamicbutton&#8221; %&gt;</div>
<div id="_mcePaste">&lt;%@ OutputCache VaryByParam=&#8221;m;t&#8221; Duration=&#8221;9123123&#8243; %&gt;</div>
<p>&lt;%@ Page Language=&#8221;vb&#8221; AutoEventWireup=&#8221;true&#8221; CodeBehind=&#8221;button.aspx.vb&#8221; Inherits=&#8221;dcsui.Dynamicbutton&#8221; %&gt;&lt;%@ OutputCache VaryByParam=&#8221;m;t&#8221; Duration=&#8221;9123123&#8243; %&gt;</p>
<p>button.aspx.vb<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Partial Public Class Dynamicbutton</p>
<p>Inherits System.Web.UI.Page</p>
<p>Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)</p>
<p>Dim text As String = Me.Request.QueryString(&#8220;t&#8221;)</p>
<p>If String.IsNullOrEmpty(text) Then</p>
<p>Throw New ApplicationException(&#8220;The text url parameter must be specified&#8221;)</p>
<p>End If</p>
<p>Dim sMirror As String = Me.Request.QueryString(&#8220;m&#8221;)</p>
<p>Dim mirror As Boolean = (Not String.IsNullOrEmpty(sMirror) AndAlso sMirror = &#8220;t&#8221;)</p>
<p>Dim rightImageWidth As Integer = 10</p>
<p>&#8216; in pixels</p>
<p>Dim imageHeight As Integer = 42</p>
<p>Dim topPadding As Integer = 11</p>
<p>&#8216; top and bottom padding in pixels</p>
<p>Dim sidePadding As Integer = 10</p>
<p>&#8216; side padding in pixels</p>
<p>Dim textBrush As System.Drawing.SolidBrush = New SolidBrush(Color.White)</p>
<p>Dim font As System.Drawing.Font = New Font(&#8220;Arial Black&#8221;, 11)</p>
<p>&#8216;&#8212;&#8212;&#8211; Calculate the text&#8217;s width</p>
<p>Dim bitmap As System.Drawing.Bitmap = New Bitmap(300, 300)</p>
<p>Dim graphics__1 As System.Drawing.Graphics = Graphics.FromImage(bitmap)</p>
<p>Dim textSize As System.Drawing.SizeF = graphics__1.MeasureString(text, font)</p>
<p>bitmap.Dispose()</p>
<p>graphics__1.Dispose()</p>
<p>&#8216;&#8212;&#8212;&#8211; Create the graphics object</p>
<p>Dim bitmapWidth As Integer = sidePadding * 2 + CInt(textSize.Width)</p>
<p>bitmap = New Bitmap(bitmapWidth, imageHeight)</p>
<p>&#8216;bitmap = new Bitmap(500, 40);</p>
<p>graphics__1 = Graphics.FromImage(bitmap)</p>
<p>&#8216; Draw the background</p>
<p>Dim leftImage As System.Drawing.Image = System.Drawing.Image.FromFile(Me.Server.MapPath(&#8220;~/images/dcs/button-left.png&#8221;))</p>
<p>Dim rightImage As System.Drawing.Image = System.Drawing.Image.FromFile(Me.Server.MapPath(&#8220;~/images/dcs/button-right.png&#8221;))</p>
<p>graphics__1.DrawImage(leftImage, 0, 0, bitmapWidth &#8211; rightImageWidth, imageHeight)</p>
<p>graphics__1.DrawImage(rightImage, bitmapWidth &#8211; rightImageWidth, 0, rightImageWidth, imageHeight)</p>
<p>&#8216; These disposes are necessary, otherwise the files get locked</p>
<p>leftImage.Dispose()</p>
<p>rightImage.Dispose()</p>
<p>If mirror Then</p>
<p>bitmap.RotateFlip(RotateFlipType.RotateNoneFlipX)</p>
<p>End If</p>
<p>&#8216; Draw the text</p>
<p>graphics__1.DrawString(text, font, textBrush, sidePadding, topPadding)</p>
<p>&#8216;&#8212;&#8212;&#8211; Serve the Image</p>
<p>Me.Response.ContentType = &#8220;image/x-png&#8221;</p>
<p>Dim memStream As System.IO.MemoryStream = New System.IO.MemoryStream()</p>
<p>bitmap.Save(memStream, System.Drawing.Imaging.ImageFormat.Png)</p>
<p>memStream.WriteTo(Me.Response.OutputStream)</p>
<p>&#8216; Some cleanup, not sure if it is all needed</p>
<p>Me.Response.[End]()</p>
<p>memStream.Dispose()</p>
<p>graphics__1.Dispose()</p>
<p>bitmap.Dispose()</p>
<p>End Sub</p>
<p>End Class</p>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</div>
<div>Save these two button images to the correct location as specified in the code above (use Photoshop to change the color)</div>
<div><a href="http://www.figers.com/Blog/wp-content/uploads/2011/02/button-right.png"><img class="alignleft size-full wp-image-43" title="button-right" src="http://www.figers.com/Blog/wp-content/uploads/2011/02/button-right.png" alt="" width="10" height="42" /></a></div>
<div><a href="http://www.figers.com/Blog/wp-content/uploads/2011/02/button-left.png"><img class="alignleft size-full wp-image-44" title="button-left" src="http://www.figers.com/Blog/wp-content/uploads/2011/02/button-left.png" alt="" width="300" height="42" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2011/02/15/good-looking-dynamic-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Engine Optimization</title>
		<link>http://www.figers.com/Blog/2011/01/19/search-engine-optimization/</link>
		<comments>http://www.figers.com/Blog/2011/01/19/search-engine-optimization/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 14:05:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=36</guid>
		<description><![CDATA[
Rather than re-write the topic I wanted to pass on this link which is a great beginners guide to SEO.
http://guides.seomoz.org/beginners-guide-to-search-engine-optimization
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.figers.com/Blog/wp-content/uploads/2011/01/seo.jpg"><img class="aligncenter size-full wp-image-35" title="search engine optimization" src="http://www.figers.com/Blog/wp-content/uploads/2011/01/seo.jpg" alt="" width="400" height="300" /></a></p>
<p>Rather than re-write the topic I wanted to pass on this link which is a great beginners guide to SEO.</p>
<p>http://guides.seomoz.org/beginners-guide-to-search-engine-optimization</p>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2011/01/19/search-engine-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL findtext &#8211; create a stored proc to find text in other stored procs</title>
		<link>http://www.figers.com/Blog/2011/01/19/sql-findtext-create-a-stored-proc-to-find-text-in-other-stored-procs/</link>
		<comments>http://www.figers.com/Blog/2011/01/19/sql-findtext-create-a-stored-proc-to-find-text-in-other-stored-procs/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 14:01:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.figers.com/Blog/?p=27</guid>
		<description><![CDATA[

This stored proc has come in handy many times, great to use it to find text in other stored procedures
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
CREATE   PROCEDURE [dbo].[findText] (
@text VARCHAR(50)
) AS
&#8211;Declare @text varchar(50)
&#8211;set @text  = &#8216;SmIepHeader&#8217;
&#8211; Adjust search text to find all contains.
SET @text = &#8216;%&#8217; + @text + &#8216;%&#8217;
&#8211; Declare general purpose variables.
DECLARE @line VARCHAR(300)
DECLARE [...]]]></description>
			<content:encoded><![CDATA[<div><a href="http://www.figers.com/Blog/wp-content/uploads/2011/01/mainphoto_find.jpg"><img class="aligncenter size-full wp-image-28" title="find" src="http://www.figers.com/Blog/wp-content/uploads/2011/01/mainphoto_find.jpg" alt="" width="400" height="318" /></a></div>
<div></div>
<div>This stored proc has come in handy many times, great to use it to find text in other stored procedures</div>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</div>
<div>set ANSI_NULLS ON</div>
<div id="_mcePaste">set QUOTED_IDENTIFIER ON</div>
<div id="_mcePaste">go</div>
<div id="_mcePaste">CREATE   PROCEDURE [dbo].[findText] (</div>
<div id="_mcePaste">@text VARCHAR(50)</div>
<div id="_mcePaste">) AS</div>
<div id="_mcePaste">&#8211;Declare @text varchar(50)</div>
<div id="_mcePaste">&#8211;set @text  = &#8216;SmIepHeader&#8217;</div>
<div id="_mcePaste">&#8211; Adjust search text to find all contains.</div>
<div id="_mcePaste">SET @text = &#8216;%&#8217; + @text + &#8216;%&#8217;</div>
<div id="_mcePaste">&#8211; Declare general purpose variables.</div>
<div id="_mcePaste">DECLARE @line VARCHAR(300)</div>
<div id="_mcePaste">DECLARE @char CHAR</div>
<div id="_mcePaste">DECLARE @lineNo INTEGER</div>
<div id="_mcePaste">DECLARE @counter INTEGER</div>
<div id="_mcePaste">&#8211; Declare cursor structure.</div>
<div id="_mcePaste">DECLARE @proc VARCHAR(50),</div>
<div id="_mcePaste">@usage VARCHAR(4000)</div>
<div id="_mcePaste">&#8211; Declare cursor of stored procedures.</div>
<div id="_mcePaste">DECLARE codeCursor CURSOR</div>
<div id="_mcePaste">FOR</div>
<div id="_mcePaste">SELECT SUBSTRING(OBJECT_NAME(id),1,50) AS sproc,</div>
<div id="_mcePaste">text</div>
<div id="_mcePaste">FROM syscomments</div>
<div id="_mcePaste">WHERE text LIKE @text</div>
<div id="_mcePaste">&#8211; Open cursor and fetch first row.</div>
<div id="_mcePaste">OPEN codeCursor</div>
<div id="_mcePaste">FETCH NEXT FROM codeCursor</div>
<div id="_mcePaste">INTO @proc,@usage</div>
<div id="_mcePaste">&#8211; Check if any stored procedures were found.</div>
<div id="_mcePaste">IF @@FETCH_STATUS &lt;&gt; 0 BEGIN</div>
<div id="_mcePaste">PRINT &#8216;Text &#8221;&#8217; + SUBSTRING(@text,2,LEN(@text)-2) + &#8221;&#8217; not found in stored procedures on database &#8216; + @@SERVERNAME + &#8216;.&#8217; + DB_NAME()</div>
<div id="_mcePaste">&#8211; Close and release code cursor.</div>
<div id="_mcePaste">CLOSE codeCursor</div>
<div id="_mcePaste">DEALLOCATE codeCursor</div>
<div id="_mcePaste">RETURN</div>
<div id="_mcePaste">END</div>
<div id="_mcePaste">&#8211; Display column titles.</div>
<div id="_mcePaste">PRINT &#8216;Procedure&#8217; + CHAR(39) + &#8216;Line&#8217; + CHAR(9) + &#8216;Reference &#8216; + CHAR(13) + CHAR(13)</div>
<div id="_mcePaste">&#8211; Search each stored procedure within code cursor.</div>
<div id="_mcePaste">WHILE @@FETCH_STATUS = 0 BEGIN</div>
<div id="_mcePaste">SET @lineNo = 0</div>
<div id="_mcePaste">SET @counter = 1</div>
<div id="_mcePaste">&#8211; Process each line.</div>
<div id="_mcePaste">WHILE (@counter &lt;&gt; LEN(@usage)) BEGIN</div>
<div id="_mcePaste">SET @char = SUBSTRING(@usage,@counter,1)</div>
<div id="_mcePaste">&#8211; Check for line breaks.</div>
<div id="_mcePaste">IF (@char = CHAR(13)) BEGIN</div>
<div id="_mcePaste">SET @lineNo = @lineNo + 1</div>
<div id="_mcePaste">&#8211; Check if we found the specified text.</div>
<div id="_mcePaste">IF (PATINDEX(@text,@line) &lt;&gt; 0)</div>
<div id="_mcePaste">PRINT @proc + CHAR(39) + STR(@lineNo) + CHAR(9) + LTRIM(@line)</div>
<div id="_mcePaste">SET @line = &#8221;</div>
<div id="_mcePaste">END ELSE</div>
<div id="_mcePaste">IF (@char &lt;&gt; CHAR(10))</div>
<div id="_mcePaste">SET @line = @line + @char</div>
<div id="_mcePaste">SET @counter = @counter + 1</div>
<div id="_mcePaste">END</div>
<div id="_mcePaste">FETCH NEXT FROM codeCursor</div>
<div id="_mcePaste">INTO @proc,@usage</div>
<div id="_mcePaste">END</div>
<div id="_mcePaste">&#8211; Close and release cursor.</div>
<div id="_mcePaste">CLOSE codeCursor</div>
<div id="_mcePaste">DEALLOCATE codeCursor</div>
<div id="_mcePaste">RETURN</div>
]]></content:encoded>
			<wfw:commentRss>http://www.figers.com/Blog/2011/01/19/sql-findtext-create-a-stored-proc-to-find-text-in-other-stored-procs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

