Hi,
I have created a form in this fashion that there are rows as many as records in the the database.
****************"****Start of Form"***********************************************
****************"****Starting of Loop"*********************************************
"Checkbox(column1)"............................ "Image(column2)".........................."Title(column3)"
..........
.........
........
.........
........
******************end of loop***************************************************
******************submit button*************************************************
******************end of form***************************************************
The checkboxes have the IDs of the records.
return drupal_get_form('acidfree_album_print_service', $form);
*************************************************************************
<?php
function acidfree_album_print_service()
{
global $user;
$type = new stdClass();
$type->message = t('There is no image');
$form = array();
$print_res = db_query("SELECT * FROM {print_service} where uid='$user->uid'");
$total_print_num = db_num_rows($print_res);
if($total_print_num>0)
{
while ($node = db_fetch_object($print_res))
{
$node = node_load($node->nid);
$confirm_nid = db_query("SELECT * FROM {node} where nid='$node->nid'");