mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 17:03:22 -05:00
Remembers state per contact_id for interest survey.
1) still need to store comments
This commit is contained in:
parent
e9e3a0ef66
commit
ac1aea3651
@ -303,8 +303,9 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
||||
<table>
|
||||
<tr><td> </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…
x
Reference in New Issue
Block a user