Im sure Im doing something simple wrong here, havent really come across this in my own work until now haha, thanks for any help
<?php
mysql_select_db($database_mydb, $mydb);
$query_Recordset2 = "SELECT * FROM resumes, facilities WHERE resumes.FULL_NAME = $Recordset1['NHA']";
$Recordset2 = mysql_query($query_Recordset2, $mydb) or die(mysql_error());
?>
<?php if ((($row_Recordset1['NHA']) != "") && ($row_Recordset1['NHA'] == $row_Recordset2['FULL_NAME'])){ ?>
<td nowrap> <a href="details.php?recordID=<?php echo $row_Recordset2['RESUME_ID']; ?>">
<?php echo $row_Recordset2['NHA']; ?> </a></td>
<?php $row_Recordset2 = mysql_fetch_assoc($Recordset2); ?>
<?php } else { ?>
<td nowrap> <?php echo $row_Recordset1['NHA']; ?></td>
<?php } ?>
Im getting an error with the select statement, I just want to use the current 20 facilities I have, check to see if the field has anything in it, if it does, do a search through the resumes to find a match, then like the match if there indeed is one.
How do I do this?
Thanks again for help hehe!