Guest User

Untitled

a guest
Oct 16th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. <div id ="twitter">
  2.  
  3. <?php
  4.  
  5. $db = mysql_connect ("localhost", "aaronross", "3rEMA4Re") or die (mysql_error() . "could not connect to the database" );
  6. $connect = mysql_select_db ("aaronross", $db) or die (mysql_error() . "could not connect to the database" );
  7.  
  8. $profileid = $_GET['id'];
  9. $result = mysql_query ("SELECT * FROM search where profile_id = $profileid;", $db);
  10.  
  11. $resultarray = mysql_fetch_array ($result);
  12.  
  13. echo "Twitter //";
  14. echo "<b>";
  15. echo $resultarray['terms'];
  16. echo "</b>";
  17.  
  18.  
  19.  
  20.  
  21. $xml = simplexml_load_file ( " echo $resultarray['terms']; " );
  22.  
  23.  
  24.  
  25. ?>
  26.  
  27.  
  28. </div>
Add Comment
Please, Sign In to add comment