<div dir="ltr">So reading the following:<div><br></div><div><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:transparent;line-height:1.75;color:rgb(85,85,85);font-family:&#39;Open Sans&#39;,Arial,Helvetica,sans-serif"><span class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><strong style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;font-style:italic;color:rgb(68,68,68)">Parameters</strong></span></p><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:transparent;line-height:1.75;color:rgb(85,85,85);font-family:&#39;Open Sans&#39;,Arial,Helvetica,sans-serif"></p><div class="" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:transparent;color:rgb(85,85,85);font-family:&#39;Open Sans&#39;,Arial,Helvetica,sans-serif"><dl class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;line-height:1.6"><dt style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><span class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;font-weight:bold"><em class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;color:black;font-weight:normal;font-family:&#39;Courier New&#39;,Courier,fixed,monospace">unescaped_string</code></em></span></dt><dd style="margin:0px 0px 0px 30px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;line-height:1.75">The string that is to be escaped.</p></dd><dt style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><span class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;font-weight:bold"><em class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><code style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;color:black;font-weight:normal;font-family:&#39;Courier New&#39;,Courier,fixed,monospace">link_identifier</code></em></span></dt><dd style="margin:0px 0px 0px 30px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;line-height:1.75">The MySQL connection. If the link identifier is not specified, the last link opened by <a class="" href="https://dev.mysql.com/doc/apis-php/en/apis-php-function.mysql-connect.html" title="5.5.4 mysql_connect" style="margin:0px;padding:0px;vertical-align:baseline;background-color:transparent;text-decoration:none;color:rgb(0,116,163)"><code class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;text-decoration:underline;color:black;font-family:&#39;Courier New&#39;,Courier,fixed,monospace">mysql_connect</code></a> is assumed. If no such link is found, it will try to create one as if<a class="" href="https://dev.mysql.com/doc/apis-php/en/apis-php-function.mysql-connect.html" title="5.5.4 mysql_connect" style="margin:0px;padding:0px;vertical-align:baseline;background-color:transparent;text-decoration:none;color:rgb(0,116,163)"><code class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;text-decoration:underline;color:black;font-family:&#39;Courier New&#39;,Courier,fixed,monospace">mysql_connect</code></a> had been called with no arguments. If no connection is found or established, an <code class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;color:black;font-family:&#39;Courier New&#39;,Courier,fixed,monospace">E_WARNING</code> level error is generated.</p></dd></dl></div><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:transparent;line-height:1.75;color:rgb(85,85,85);font-family:&#39;Open Sans&#39;,Arial,Helvetica,sans-serif"></p><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:transparent;line-height:1.75;color:rgb(85,85,85);font-family:&#39;Open Sans&#39;,Arial,Helvetica,sans-serif"><span class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><strong style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;font-style:italic;color:rgb(68,68,68)">Return Values</strong></span></p><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:transparent;line-height:1.75;color:rgb(85,85,85);font-family:&#39;Open Sans&#39;,Arial,Helvetica,sans-serif">Returns the escaped string, or <code class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;color:black;font-family:&#39;Courier New&#39;,Courier,fixed,monospace">FALSE</code> on error.</p><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:transparent;line-height:1.75;color:rgb(85,85,85);font-family:&#39;Open Sans&#39;,Arial,Helvetica,sans-serif"><span class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent"><strong style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;font-style:italic;color:rgb(68,68,68)">Errors/Exceptions</strong></span></p><p style="margin:0px 0px 15px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:transparent;line-height:1.75;color:rgb(85,85,85);font-family:&#39;Open Sans&#39;,Arial,Helvetica,sans-serif">Executing this function without a MySQL connection present will also emit <code class="" style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:transparent;color:black;font-family:&#39;Courier New&#39;,Courier,fixed,monospace">E_WARNING</code> level PHP errors. Only execute this function with a valid MySQL connection present.</p><div>I decided to remove the $link from each of the sections under the &quot;modify&quot; portion of the code.  Assuming since in the code we call the DB connection in the include statement anyway, the $link should already be established and able to be assumed.  The code executes as expected with no warnings.  This does not tell me why is doesn&#39;t work yet but it does tell me that the connection to the DB is established and working as expected along with the code minus this one parameter.</div><div><br></div><div>I checked all of my patch versions and PDO with mysqli shouldn&#39;t be required until 5.5 where I&#39;m on 5.3.  Using PDO would have me rewriting this entire section I would think.</div><div><br></div><div>Thanks</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Jeff</div><div><br></div></div></div></div></div></div></div></div>