Here is my dilemma. I cannot get the ldap_search() below to accept the POST'ed data from the HTML code below. Whats the deal?
Code:
<HTML>
<HEAD>
<TITLE>TEST</TITLE>
</HEAD>
<BODY>
<form action="ldapsearch.php" method="POST" />
Employee name: <input type="text" name="Employee_Name" /><br>
<input type="submit" />
</BODY>
</HTML>
PHP Code:
$ldap_usr = ldap_search($ldap_con, 'dc=ods,dc=annarbornews,dc=com', $_POST['Employee_Name']);
What am I doing wrong?