Mercurial > hg > extraction-interface
comparison models/extractapp.php @ 101:a264460c77ca extractapp
new: auto save and reload page after updating taglist.
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Wed, 04 May 2016 15:22:11 +0200 |
| parents | c1bb174a22f3 |
| children | 6ba742b712b0 |
comparison
equal
deleted
inserted
replaced
| 100:8a97db7b9108 | 101:a264460c77ca |
|---|---|
| 1337 $name = stripslashes($postdata['text']); | 1337 $name = stripslashes($postdata['text']); |
| 1338 } else { | 1338 } else { |
| 1339 $name = $postdata['text']; | 1339 $name = $postdata['text']; |
| 1340 } | 1340 } |
| 1341 | 1341 |
| 1342 $query1 = sprintf("INSERT INTO `Wordlist` (`name`) VALUES (%s,)", | 1342 $query1 = sprintf("INSERT INTO `Wordlist` (`name`) VALUES (%s)", |
| 1343 $this->GetSQLValueString($name, "text")); | 1343 $this->GetSQLValueString($name, "text")); |
| 1344 //$this->GetSQLValueString($this->systemNAME, "text")); | 1344 //$this->GetSQLValueString($this->systemNAME, "text")); |
| 1345 $result1 = mysql_query($query1); | 1345 $result1 = mysql_query($query1); |
| 1346 file_put_contents( "data/wordlist/".mysql_insert_id().".txt", "(empty now)"); | 1346 file_put_contents( "data/wordlist/".mysql_insert_id().".txt", "(empty now)"); |
| 1347 } | 1347 } |
