Re: [PHP-DB] mysql table layout help needed

2001-12-21 Thread Chris Payne
Hi there, I format my results using the following code: "> I prefer to use this method rather than echo's as it's easier to follow (I don't know about any downsides though, I just know it's easier for me to program this way). I tried the code that you gave (Bogdan, thank you)

Re: [PHP-DB] mysql table layout help needed

2001-12-20 Thread Bogdan Stancescu
A sample of what you were trying would have been helpful... If I understood your problem right, the solution is a piece of code like this: \n\n"); while ($myrow=mysql_fetch_row($result)) { $colcount++; if ($colcount==$desiredcolcount) { $colcount=0; } if (!$colcount

[PHP-DB] mysql table layout help needed

2001-12-20 Thread Chris Payne
Hi there everyone, This is probably a really simple problem but for the life of me I can't figure out what i'm doing wrong. My problem is I am getting 20+ results from a DB to display without any problems with the images etc . but they display one ontop of another (Of course with spacing