I've built a recordset which repeats listing all the data records, Got this working no problem. The problem I'm running into is two data types.
email & url.
I've got a simple data verifier which places "N/A" in the field if the mySQL field is = "". No Problem Here is a sample of that code.
Code: Select all
<?php if ($row_profiles['phone']=="") { echo 'N/A';} else { echo $row_profiles['phone'];} ?>This is what I've tried, but it's not working.
Code: Select all
<?php if ($row_profiles['email']=="") { echo 'N/A';} else { echo '<a href="mailto:<?php echo $row_profiles['email']?>">$row_profiles['email']?>"></a>';}?>Any help would be greatly appreciated.
FrogOnTOp