Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- mysql_connect("user","pw");
- mysql_select_db("DB");
- $query1 = mysql_query("SELECT * FROM tutorials")
- while($ttg = mysql_fetch_array($query1)){
- echo "<h1>Tutorial: $ttg[title]</h1>";
- echo "<br /><br /> <p>$ttg[content]</p>";
- }
Add Comment
Please, Sign In to add comment