I'm new to php, I have been getting this error in my code
echo "<a href=\"PHadmin_deletePatient.php?id=<?php echo $row["PatientID"]; ?>\" class='delete' title='Delete' data-toggle='tooltip'><i class='material-icons'></i></a>";
I found out that the error is within ?id=<?php echo $row["PatientID"]; ?>
this part of the code but I couldn't solve it.
Full error- Parse error: syntax error, unexpected double-quote mark, expecting "-" or identifier or variable or number in