-1
good afternoon!
Is it possible for me to put one href
to redirect to another page within a variable?
I have a simple listing where I display the name, and on the side I have a button
that redirects to an editing page, I would like to put that same function of button
, where I display the name, it is possible?
My code where I display the name: echo" <td>{$cont['nome']}</td>";
My button:
echo "
<td>
<a href='edit_personal.php?id=".$cont['id']."&nome=".$cont['nome']." target='new_blank'></a>
</td>";
I tried, but it didn’t work...
Missing to close single attribute quotes
href
.– Sam