Help with spacing of dynamically generated tables
This is a CSS/HTML issue, not php. Your php is suspect:
Line 15.
No need for all the tables? How about one table? Do you really need a table anyway? Why not use <h3> for name, <p> or <div> for content?
Any reason why you'r using mysql_result? This tends to shift the internal pointer when called. Perhaps mysql_fetch_array() would be a better option with a while loop.
Also using * in your sql is a bit wasteful, you should name the fields you want.
diafol
Keep Smiling
10,651 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,510
Skill Endorsements: 57
Question Answered as of 1 Year Ago by
vibhaJ