Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS problem with div tags

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25695
    Code:

    id

    forum
    topics
    post
    created on

    “;

    $sql = mysql_query(“SELECT * FROM category ORDER BY cat_id “);

    while($row = mysql_fetch_array($sql)) {
    $topics = mysql_num_rows(mysql_query(“SELECT * FROM topics WHERE cat_id='”.$row[‘cat_id’].”‘”));
    $replies = mysql_num_rows(mysql_query(“SELECT * FROM replies WHERE cat_id='”.$row[‘cat_id’].”‘”));
    echo”

    “.$row[‘cat_id’].”
    “.$topics.”
    “.$replies.”
    “.date(“j/n – y”,$row[‘created’]).”

    “;

    }

    echo ““;
    mysql_close($con);
    ?>

    i want to use div to get table like effect but it is not producing it….where is the prob.?

#61683
Rob MacKay
Participant

mmm – if you are using divs to make a table – you should just use a table :)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.