mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-23 01:03:23 -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>
|
<table>
|
||||||
<tr><td> </td></tr>
|
<tr><td> </td></tr>
|
||||||
<?php
|
<?php
|
||||||
$sql = " SELECT options.option_name AS selection FROM selections, options
|
$sql = "SELECT options.option_name AS selection FROM selections, options
|
||||||
WHERE selections.selection=options.option_name_id;";
|
WHERE selections.selection=options.option_name_id AND
|
||||||
|
contact_id=" . $row_Recordset1['contact_id'] . ";";
|
||||||
$query = mysql_query($sql, $YBDB) or die(mysql_error());
|
$query = mysql_query($sql, $YBDB) or die(mysql_error());
|
||||||
$selections = [];
|
$selections = [];
|
||||||
while ($result = mysql_fetch_assoc($query)) {
|
while ($result = mysql_fetch_assoc($query)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user