My code is a mess right now, but I am just trying out some things. But I have the following pages:
index:
<html>
<head>
    <link rel="stylesheet" type="text/css" href="css\placing.css">
    <title>Numbers</title>
</head>
<body>
    <div class="topbar">
        sf
    </div>
    <div class="talraekke">
        <p>test</p>
    </div>
    <div class="content">
        <p>Enter The Number</p>
        <form action="action.php" method="post" >
            <input type="value" name="numbervalue">
            <input type="submit">
        </form>
    </div>
</body>
</html>
<?php 
include 'action.php';
?>
And my actionpage.php:
<?php
$username = "root";
$password = "root";
$hostname = "127.0.0.1:3306"; 
//connection to the database
$dbhandle = mysql_connect($hostname, $username, $password) 
or die("Unable to connect to MySQL");
//echo "<br><br>Connected to MySQL<br><br>";
//select a database to work with
$selected = mysql_select_db("roulette_db",$dbhandle) 
  or die("Could not select any database");
echo "<h1>Hello " . $_POST["numbervalue"] . "</h1>";
    // Insert To Database
$strSQL = "INSERT INTO numbertable(numbers) VALUES('" . $_POST["numbervalue"] . "')";
// The SQL statement is executed 
    mysql_query($strSQL) or die (mysql_error());
    // SQL query
    $strSQL = "SELECT * FROM numbertable";
    // Execute the query (the recordset $rs contains the result)
    $rs = mysql_query($strSQL);
    // Loop the recordset $rs
    // Each row will be made into an array ($row) using mysql_fetch_array
    while($row = mysql_fetch_array($rs)) {
       // Write the value of the column FirstName (which is now in the array $row)
      echo $row['numbers'] . "<br />";
}
  // The SQL statement is executed 
    mysql_query($strSQL) or die (mysql_error());
    // Close the database connection
    mysql_close();
?>
From the database I recive some numbers that I have put in my form. But I would like that those numbers are inside the :
<div class="talraekke">
    <p>test</p>
</div>
But how can I call that data in my div tag?
Best Regards Mads
