PHP ldap_error reports nothing
<p>I am running the following and my command is failing.  It correctly stops at die() but does not print the ldap_error().  </p>

<pre><code>// Now for LDAP
          require_once('ldapconnect.php');

          $entry["mysqldbname"] = $value;
          $result = ldap_mod_del($ldapconn, $binddn, $entry)or die(ldap_error());
</code></pre>

<p>I already know the connection is fine as I have tested it here before and it's also working just fine on another page.  Any idea why my error isn't printing?</p>
