\n"; echo "\n"; echo "nr\n"; echo "name\n"; echo "part url\n"; echo "\n"; $row = db_next( $ress ); while( $row ) { $nr = $row["os_nr"]; $name = htmlentities( $row["os_name"] ); $parturl = htmlentities( $row["os_part_url"] ); echo "\n"; echo "$nr\n"; echo "$name\n"; echo "
$parturl
\n"; echo "\n"; $row = db_next( $ress ); } echo "\n"; } echo "


\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
nr
name
part url (add %s for part nr)
\n"; echo "
\n"; } function cmd_suppliers( $subcmd ) { echo "

suppliers

\n"; switch( $subcmd ) { case "insert": cmd_suppliers_insert(); cmd_suppliers_list(); break; case "update": cmd_suppliers_update(); cmd_suppliers_list(); break; case "delete": cmd_suppliers_delete(); cmd_suppliers_list(); break; default: cmd_suppliers_list(); break; } } ?>