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 ?

Recommended Answers

All 3 Replies

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

    header("Location: login.php");
    $id = $_GET['id'];
    $sql = "SELECT * FROM serv WHERE id='".$id."'";
    $query = mysql_query($sql);
    while($row = mysql_fetch_object($query)){
        echo "
        <html dir='rtl'>
        <meta charset='UTF-8' />
        <table border='1' >
        <td colspan='3'><p>".$row->describtion."</p></td>


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, learning, and sharing knowledge.