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
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
?php
include(sql.inc.php);
include(config.inc.php);
$connection = mysql_connect($sql['host'],$sql['uid'],$sql['pwd']);
$select_db = mysql_select_db($sql['db']);
$select = mysql_query('SELECT * FROM comments');
$data = mysql_fetch_array($select);
$result = mysql_query('SELECT * FROM comments');
Florian P. wrote:
?php
include(sql.inc.php);
include(config.inc.php);
$connection = mysql_connect($sql['host'],$sql['uid'],$sql['pwd']);
$select_db = mysql_select_db($sql['db']);
$select = mysql_query('SELECT * FROM comments');
$data = mysql_fetch_array($select);
$result =
4 matches
Mail list logo