Hi
I'm working on a small project and I faced this problem.
when I create a table then I wright a lot of words it doesn't go to the next line (row) it continue to the right so the page become so wide !
so is there any solution for that ?

It would be more helpful if you provide sample code from this table you are referring to.

will the code is a little missy but I hope its ok with you

<?php
session_start();
require_once('../inc/config.php');
if(!isset($_SESSION['admin'])){
    header("Location: login.php");
}else{
    $id = $_GET['id'];
    $sql = "SELECT * FROM serv WHERE id='".$id."'";
    $query = mysql_query($sql);
    while($row = mysql_fetch_object($query)){
        echo "
        <html dir='rtl'>
        <head>
        <meta charset='UTF-8' />
        </head>
        <table border='1' >
        <tr>
        <td>".$row->username."</td>
        <td>".$row->title."</td>
        <td>".$row->status."</td> 
        </tr>
        <center><tr>
        <td colspan='3'><p>".$row->describtion."</p></td>
        </tr></center>
        </table>
</html>
        ";
    }
}

?>

I found the problem thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.