I have the following line of code on my website that won't direct to the mentioned link
<?php
echo '<input name="" type="button" onClick="location.href=\'main.php?user=\''.$_GET['user'].'" style="width: 150px; height: 150px; font-size: 36px; font-weight:bold; font-style: italic;" value="Done">';
?>
Is there anything wrong with the structure of my code?