I am trying to select a table name from my MySql database, and write it out on my HTML page.
This is my query:
SELECT * FROM sted, attraksjon, reisetips
Then I am trying to write out the table names (sted, attraksjon and reisetips) in my HTML code. I tried this, but didnt work.
<?php while($rad = mysqli_fetch_array($datasett)) { ?>
<li id="navigasjon"><a href="nettside.html"><?php echo $rad["sted"]; ?></a></li>
<?php } ?>
Someone help please