Hi
I am trying the code below and managed to display a unique record.
But, if I found more than one record, how can I display them by lines.
Also if possible, how can I insert a link in everyline to go to that record.
Thanks
Moises
// Make a MySQL Connection
mysql_connect("localhost", "database_monitor", 'password') or die(mysql_error());
mysql_select_db("monitorr_acrisoft") or die(mysql_error());
$result = mysql_query("SELECT * FROM prova WHERE ID= '$protocolo'") or die (mysql_error());
$mem_row = mysql_fetch_array( $result );
$count = mysql_num_rows($result);
if($count >= 1)
I am trying the code below and managed to display a unique record.
But, if I found more than one record, how can I display them by lines.
Also if possible, how can I insert a link in everyline to go to that record.
Thanks
Moises
// Make a MySQL Connection
mysql_connect("localhost", "database_monitor", 'password') or die(mysql_error());
mysql_select_db("monitorr_acrisoft") or die(mysql_error());
$result = mysql_query("SELECT * FROM prova WHERE ID= '$protocolo'") or die (mysql_error());
$mem_row = mysql_fetch_array( $result );
$count = mysql_num_rows($result);
if($count >= 1)
....
// display: Nome, city, code
...
// display: Nome, city, code
...