Guest User

Untitled

a guest
Oct 22nd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1.  
  2. while($rowl = mysql_fetch_array($resulturl))
  3. {
  4.  
  5. $split = ( list ($Country, $State, $County, $City) = split("/", $rowl[friendly_url_path]) );
  6.  
  7. $Country1 = strtoupper($Country);
  8.  
  9. $State1 = strtoupper($State);
  10.  
  11. $County1 = strtoupper($County);
  12.  
  13. $City1 = strtoupper($City);
  14.  
  15. $rowlid1 = $rowl[id];
  16.  
  17.  
  18. foreach($Al as $i)
  19. {
  20.  
  21. while($rowlist = mysql_fetch_array($resultlist))
  22. {
  23. $State2 =strtoupper($rowlist[loc_title]);
  24.  
  25. $County2=$rowlist[lst_title];
  26.  
  27. $City2 =strtoupper($rowlist[lst_city]);
  28.  
  29. $rowlistid2 = $rowlist[location_id];
  30.  
  31. $rowlistzip = $rowlist[lst_zip];
  32.  
  33. echo $i[State]." - ".$i[County]." - ". $i[City]." - ". $i[Zip]."<br />";
  34.  
  35. echo $State1." - ". $County1." - ". $City1." - ". $rowlid1."<br />";
  36.  
  37. echo $State2." - ". $County2." - ". $City2." - ".$rowlistid2." - ". $rowlistzip."<br /><br />";
  38.  
  39. //if ( ($County1 === $i[County]) )
  40.  
  41.  
  42. //($County1 === $i[County]) && ($City1 === trim($i[City])) && ($i[Zip] = $rowlistzip ) )
  43.  
  44. //{
  45. //echo $State1." - ". $i[State]." - ". $County1." - ".$i[County]." - ". $City1." - ". $i[City]." - ". $rowlid1." - ". $i[Zip]."<br />";
  46.  
  47.  
  48. //echo $i[State]." - ".$i[County]." - ". $i[City]." - ". $i[Zip]."<br />";
  49.  
  50. //echo $State1." - ". $County1." - ". $City1." - ". $rowlid1."<br />";
  51.  
  52. //echo $State2." - ". $County2." - ". $City2." - ".$rowlistid2." - ". $rowlistzip."<br /><br />";
  53.  
  54.  
  55. //}
  56.  
  57. }
  58.  
  59.  
  60.  
  61. }
  62.  
  63. }
Add Comment
Please, Sign In to add comment