How can I change this code:
echo "<button onclick='document.location='TEST1.php?auteurnr=$row[0]''> $row[voornaam] $row[achternaam]</button>";
Into showing this:
<button onclick="document.location='test1.php?auteurnr=61'">
And not this:
<button onclick='document.location='TEST1.php?auteurnr=61''>
You mean character escaping?