i tried that, but it returns 0, but if i look at the personid, it's value is 1. (and i only have 1 record in the db).
since i'm passing that array of checkboxes (i check each box that i want the person subscribed to...i use a hidden input field, and the following code to generate the checkboxes on the forum, based on what subjects are listed in the subject table)
for ($count = 1; $row = mysql_fetch_row ($rResult); ++$count)
{
$numvalues = $count;
echo "$row[1] : <input type = \"checkbox\" name=\"sublists[]\" value=\"$row[1]\"><br>";
}
?>
</p>
</td>
</tr>
<tr>
<td width="22%" nowrap>
<div align="left">
<input type = "hidden" name="count" value = <? echo $numvalues; ?>>
so i was thinking of doing something like
INSERT into master_list (last,first,title,email,phone,fax,mailing_addy,fedex_addy,org,area,topic,notes) VALUES ($last,$first,$title,$email,$phone,$fax,$mailing_addy,$fedex_addy,$org,$area,$topic,$notes)";
SELECT peron_id FROM master_list WHERE first LIKE '$first AND last LIKE '$last' AND title LIKE '$title' AND email LIKE '$email'
$sQuery3 = "SELECT subject_id FROM subject WHERE description LIKE $sublists[$x]";
of course, the LIKE $sublists[$x] won't work, so i'm sure there is a different way to do this