Hi > In a new page how can I pull the data from a MySQL database according to > each value I passed from a previous page?
Not tested, just an idea;-) For example $chk[0] contains 12345, the value of checkbox1 $chk[1] contains 67890, the value of checkbox2 and so on. <?php foreach($chk as $key => $val) { $sql = "SELECT field1, field2 ... from yourtable WHERE ID = $val"; $res = mysql_query($sql); if ($res) { $row = mysql_fetch_row($res); // do something with the data in the retrieved row } } Greetings Conni -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php