- Timestamp:
- Oct 13, 2008, 1:56:05 PM (16 years ago)
- Location:
- lists
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lists/SystemListItem.php
r10 r13 5 5 global $Database; 6 6 7 print_r($Parameters);7 //print_r($Parameters); 8 8 $DbResult = $Database->select('SystemType', 'DbDataType', 'Id='.$Parameters['Type']); 9 9 //echo($Database->LastQuery); 10 10 $DbRow = $DbResult->fetch_assoc(); 11 11 $DbResult = $Database->select('SystemList', 'TableName', 'Id='.$Parameters[$Parameters['Column']]); 12 echo($Database->LastQuery);12 //echo($Database->LastQuery); 13 13 $DbRow2 = $DbResult->fetch_assoc(); 14 14 $Database->query('ALTER TABLE `'.$DbRow2['TableName'].'` ADD `'.$Parameters['Name'].'` '.$DbRow['DbDataType'].' NOT NULL ;'); 15 echo($Database->LastQuery);15 //echo($Database->LastQuery); 16 16 } 17 17
Note:
See TracChangeset
for help on using the changeset viewer.