Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $con = mysql_connect("localhost","USERNAME","SIFRA");
- if (!$con)
- {
- die('Could not connect: ' . mysql_error());
- }
- mysql_select_db("IMEBAZE", $con);
- $result = mysql_query("SELECT * FROM igre ORDER BY id");
- while($row = mysql_fetch_array($result))
- {
- echo $row['id'] . " " . $row['ime_igre']." " .$row['link_igre'];
- echo "<br />";
- }
- mysql_close($con);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment