Changeset 76 for www/finance
- Timestamp:
- May 27, 2008, 7:08:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/finance/manage.php
r75 r76 219 219 } 220 220 221 ImportOldData(); 221 function ConvertPDFDataToFiles() 222 { 223 global $Database; 224 $DbResult = $Database->query('SELECT * FROM finance_bills'); 225 while($Bill = $DbResult->fetch_array()) 226 { 227 file_put_contents('doklady/Doklad '.$Bill['id'].'.pdf', $Bill['pdf']); 228 echo($Bill['id'].','); 229 } 230 231 } 232 233 ConvertPDFDataToFiles(); 234 235 //ImportOldData(); 222 236 223 237 ?>
Note:
See TracChangeset
for help on using the changeset viewer.