Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. foreach($temp as $sp1)
  2. {
  3. foreach($sp1 as $key=>$value)
  4. {
  5. $url = "https://site.com/api/project/$key/positions/$value";
  6. $sql_check = "SELECT project_id FROM $superARRAY WHERE project_id = $key";
  7. $sql_query = "INSERT INTO $superARRAY (project_id, phrase, positions)
  8. VALUES (:project_id, :phrase, :positions)";
  9. DoWrite($url, $token, $key, $sql_check, $sql_query);
  10. }
  11. }
  12.  
  13. 112340=>70557 112340=>70558 112340=>70559 112367=>70648 112367=>70649 112367=>70650 112372=>70661112372=>70662112372=>70663112419=>70735
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement