Thought i should start a new thread.
i'm wondering now how to style my results, maybe putting a line break between the results and styling the text using something like <p class="body">(which is already defined) also verifying the width of the table etc...
Im not sure how to work it into this php code
Thanks for any advice
Ben
i'm wondering now how to style my results, maybe putting a line break between the results and styling the text using something like <p class="body">(which is already defined) also verifying the width of the table etc...
Im not sure how to work it into this php code
Code:
echo "<br>";
echo "<br>";
echo "<table>\n";
while ($row = mysql_fetch_assoc($result)) {
echo "</td><td>" . $row['category'] .
"</td><td>" . $row['company'] .
"</td><td>" . $row['name'] .
"</td><td>" . $row['web_address'] .
"</td><td>" . $row['email_address'] .
"</td><td>" . $row['tel'] .
"</td><tr>\n";
}
echo "</table>\n";
Thanks for any advice
Ben