Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include 'password.php';
- $mysqli = new mysqli('localhost', $login, $password, $databaseName);
- $result = $mysqli->query("SELECT * FROM Photo ORDER BY url");
- while($array = $result->fetch_assoc() ){
- print $array['url'] . ": " . $array['pid']."<br />";
- }
- $mysqli->close();
Add Comment
Please, Sign In to add comment