root/sovereignty/readsovsys.php5
@
246
Revision 246, 332 bytes (checked in by exi, 15 years ago) |
---|
Rev | Line | |
---|---|---|
[246] | 1 | <?php |
2 | ||
3 | include('evedb.php'); | |
4 | ||
5 | $f = fopen('sovsystems.txt', 'r'); | |
6 | ||
7 | while ($line = fgets($f)) | |
8 | { | |
9 | $edb->query('select solarSystemID from mapsolarsystems where solarSystemName like \'%'.trim($line).'%\''); | |
10 | $tmp = $edb->fetch_array(); | |
11 | $edb->query('insert into mapinfluenceinject values ('.$tmp['solarSystemID'].', 60)'); | |
12 | } | |
13 | ||
14 | ?> |
Note: See TracBrowser
for help on using the browser.