Florian P. wrote:
No reason to run this twice
$data = array();
if ( $result = mysql_query ( 'SELECT * FROM comments' ) ) {
while ( $temp = mysql_fetch_array ( $result, MYSQL_ASSOC ) ) {
$data[] = $temp;
}
$rows = mysql_num_rows ( $result );
ID:
Name:
Titel:
Kommentar:
Thats the code i have written.
And I would like to post the how often
I have SQL-entries in my database.
I hope you understand what I would like to say.
And in each cycle it ought to put out the next entry of the database.
Florian Paucke wrote:
I need some help from you, because, I'm creating a
guestbook. But I have a little problem.
I have a table, where the different My-SQL-Entries
are read out.
But now I get only one Entry, but not more.
How can do it, that the table read out 4 times, when
4 entries are in the
Hi.
I'm new to PHP.
I need some help from you, because, I'm creating a
guestbook. But I have a little problem.
I have a table, where the different My-SQL-Entries
are read out.
But now I get only one Entry, but not more.
How can do it, that the table read out 4 times, when
4 entries are in the d
4 matches
Mail list logo