Changeset 46 for trunk/cgi-bin
- Timestamp:
- 11/01/04 11:57:52 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r45 r46 979 979 my $cidr = $data[1]; 980 980 981 $sth = $ip_dbh->prepare("update poolips set custid='$webvar{custid}', city='$webvar{city}'".982 " 981 $sth = $ip_dbh->prepare("update poolips set custid='$webvar{custid}',". 982 "city='$webvar{city}',available='n',description='$webvar{desc}'". 983 983 " where ip='$cidr'"); 984 984 $sth->execute; … … 1416 1416 @data = $sth->fetchrow_array; 1417 1417 $sth = $ip_dbh->prepare("update poolips set custid='6750400', available='y',". 1418 " city='$data[0]' where ip='$webvar{block}'");1418 " city='$data[0]', description='' where ip='$webvar{block}'"); 1419 1419 $sth->execute; 1420 1420 $ip_dbh->commit;
Note:
See TracChangeset
for help on using the changeset viewer.