Changeset 41 for branches/stable
- Timestamp:
- 11/01/04 10:34:17 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/main.cgi
r39 r41 973 973 # We'll just have to put up with the oddities caused by SQL (un)sort order 974 974 $sth = $ip_dbh->prepare("select * from poolips where pool='$webvar{alloc_from}'". 975 " and available='y' ");975 " and available='y' order by ip"); 976 976 $sth->execute; 977 977 … … 979 979 my $cidr = $data[1]; 980 980 981 $sth = $ip_dbh->prepare("update poolips set custid='$webvar{custid}',available='n'". 981 $sth = $ip_dbh->prepare("update poolips set custid='$webvar{custid}',city='$webvar{city}'". 982 " available='n',description='$webvar{desc}'". 982 983 " where ip='$cidr'"); 983 984 $sth->execute;
Note:
See TracChangeset
for help on using the changeset viewer.