Changeset 370 for trunk/cgi-bin/newcity.cgi
- Timestamp:
- 11/27/07 12:18:27 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/newcity.cgi
r214 r370 40 40 41 41 if ($webvar{pop} eq 'on') { 42 $sth = $dbh->prepare("insert into cities values ('$webvar{city}','y')");42 $sth = $dbh->prepare("insert into cities (city,routing) values ('$webvar{city}','y')"); 43 43 } else { 44 $sth = $dbh->prepare("insert into cities values ('$webvar{city}','n')");44 $sth = $dbh->prepare("insert into cities (city,routing) values ('$webvar{city}','n')"); 45 45 } 46 46 $sth->execute;
Note:
See TracChangeset
for help on using the changeset viewer.