I have a table that I fill with records from the database. What I want to do when the view button is clicked is to be able to get the ID of the row so that I can call on the oth
You could make little forms for each button but I prefer hyperlinks that I then style to look like buttons:
ID
Username
Email
Telephone
Date Registered
Member Details
";
echo $row['ID'];
echo " ";
echo $row['Username'];
echo " ";
echo $row['Email'];
echo " ";
echo $row['Telephone'];
echo " ";
echo $row['RegisterDate'];
echo " ";
print 'View ';
echo " ";
}
?>
You can do more with the CSS but that should give you the right idea.
- 热议问题