hi friends,
How can i display messages from mysql databse in each rows with delete button and reply button.
Please help me...
no codes working properly,
thanks in advance.
How to display messages from mysql database in each rows?
Moderator: General Moderators
-
ashfaqbinnazar
- Forum Newbie
- Posts: 5
- Joined: Thu Apr 29, 2010 1:02 am
Re: How to display messages from mysql database in each rows
Show the non-working code...
Code: Select all
// First you need to select the rows with a query:
$result = mysql_query(<YOUR_QUERY>);
// then iterate through the results
while ($row = mysql_fetch_row($result)) {
echo $row['message'];
// here you can output the button as well
}