Changeset 42 for trunk/cgi-bin
- Timestamp:
- 11/01/04 10:49:35 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r40 r42 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' order by IP");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.