Программирование => PHP => Тема начата: eugz от 20 Марта 2006, 19:24:08
Название: Hide/Show row(s)
Отправлено: eugz от 20 Марта 2006, 19:24:08
Hi All. I create form/page and would like to show whole row(s) under NOTE-1 if value of field TYPE is 3 exist and hide whole row(s) under NOTE-1 if value of field TYPE is 3 doesn\'t exist`for according ID. And I would like to show whole row(s) under NOTE-2 if value of field TYPE are 1 or 2 exist and hide whole row(s) under NOTE-2 if value of field TYPE are 1 or 2 doesn\'t exist for according ID. That is my code.
include (\'Connections/dbconn.php\');
if (!($connection = @ mysql_pconnect($hostname, $username, $password))) die("Could not connect to database"); if (!mysql_select_db($dbName, $connection)) showerror( );