Browse Source

Remembers state per contact_id for interest survey.

1) still need to store comments
devel
Jonathan Rosenbaum 10 years ago
parent
commit
ac1aea3651
  1. 5
      contact_add_edit.php

5
contact_add_edit.php

@ -303,8 +303,9 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
<table>
<tr><td>&nbsp;</td></tr>
<?php
$sql = " SELECT options.option_name AS selection FROM selections, options
WHERE selections.selection=options.option_name_id;";
$sql = "SELECT options.option_name AS selection FROM selections, options
WHERE selections.selection=options.option_name_id AND
contact_id=" . $row_Recordset1['contact_id'] . ";";
$query = mysql_query($sql, $YBDB) or die(mysql_error());
$selections = [];
while ($result = mysql_fetch_assoc($query)) {

Loading…
Cancel
Save