hemi
09-25-2010, 10:10 AM
Hi All,
Iam geting values from mysql database and i want to show them side by side (for example, iam getting the 10 movies list, i can show them one by one) Now What exactly i need is, if i can get first two values in frirst row and in next row next two values and that goes on.
<? PHP
echo "
<table align=center border=1>
<tr><td>
$movie </td></tr></table>";
?>
For this i will get
Trainer
The Pianist
Titanic
Lagaan
The Reader
Rocky 1
Rocky 2
Rocky3
Now what i need is
Trainer The Pianist
Titanic Lagaan
The Reader Rocky 1
Rocky 2 Rocky3
I dont no, if it is the right place or not, but of any one knows how to do it plzzzzzz hlp me
Iam geting values from mysql database and i want to show them side by side (for example, iam getting the 10 movies list, i can show them one by one) Now What exactly i need is, if i can get first two values in frirst row and in next row next two values and that goes on.
<? PHP
echo "
<table align=center border=1>
<tr><td>
$movie </td></tr></table>";
?>
For this i will get
Trainer
The Pianist
Titanic
Lagaan
The Reader
Rocky 1
Rocky 2
Rocky3
Now what i need is
Trainer The Pianist
Titanic Lagaan
The Reader Rocky 1
Rocky 2 Rocky3
I dont no, if it is the right place or not, but of any one knows how to do it plzzzzzz hlp me