Hi bradgrafelman,
There are no errors when using odbc errormsg().
when i jsut tried with only one condition in where statement it works.
i.e.
<?
$conn = odbc_connect('server-1','user','password');
$userid = $_POST['userid'];
$password = $_POST['password'];
//echo $userid;
//echo $password;
$select = "SELECT * FROM plus_signup where userid = '$userid' ";
echo "Select : $select";
$result = odbc_exec($conn, $select);
while ($row = odbc_fetch_array($result))
{
//write out all the rows from the table
echo "<br>".$row['userid'];
echo "<br>".$row['password'] . '<br/>';
}
?>
Below is my output.
Select : SELECT * FROM plus_signup where userid = 'tester'
tester
testing