This block of code creates the table I want and states the number of results, but only displays the commas not the data. Can anyone help?
while ($row = mysql_fetch_assoc($result)) {
print "<tr>\n";
printf ("<td colspan=\"3\"><p>%s<br> %s, %s</td><td align=right colspan=\"5\"><p>%s, %s<br> %s, %s, %s</td>\n", $row['name'], $row['pastor'], $row['denomination'], $row['address'], $row['city'], $row['state'], $row['zip'], $row['phone']);
print "\t</tr>\n";
}
Thanks - Beeg
while ($row = mysql_fetch_assoc($result)) {
print "<tr>\n";
printf ("<td colspan=\"3\"><p>%s<br> %s, %s</td><td align=right colspan=\"5\"><p>%s, %s<br> %s, %s, %s</td>\n", $row['name'], $row['pastor'], $row['denomination'], $row['address'], $row['city'], $row['state'], $row['zip'], $row['phone']);
print "\t</tr>\n";
}
Thanks - Beeg