Ich habe eine while-Schleife, die Informationen aus der MySQL-Datenbank abruft. Jetzt gibt es eine Spalte namens profile. Ich möchte also alle <td>
im Profil als eine Schaltfläche, die eine Aktion haben würde, die zu einer PHP-Seite führen würde. Wie mache ich das?Weisen Sie jeden TD in PHP zu While Loop-Tabelle einen Link
<form action="profile.php" method="get">
while($result)
{
echo '<table>';
echo '<tr>';
echo '<td>';
echo $result['profile'];
echo '</tr>';
echo '</td>';
echo '</table>';
}
Jetzt sollte jeder $result['profile']
ein wie einreichen sein - <input type="submit">
Dank.
Sie fragt, wie ein 'echo '' zu tun;' oder bin ich Missverständnis Ihre Frage? – Tomalak
yep ............ – sarthak