[thelist] php/mysql output to browser questions...

John Corry webshot at neoncowboy.com
Fri Mar 30 14:41:27 CST 2001


> Wait, why would you want to do it that way??  The way the current
> page is done is with one table that has just the three horizontal
> cells, all aligned to the top, and then a nested table in the
> firt cell that iterates through all the images.
>
> Wouldn't it be much easier to leave it in that format so that all
> of the images are being written togather instead of being
> scattered across the code?

Yes...it most certainly would be easier. I guess I was trying to do it 'more
right' by avoiding the use of nested tables in the re-do. Seems like I read
somewhere that nesting tables is to be avoided...but crap, trying to build a
table that complex from PHP output is a little beyond my ability at this
point.

Any suggestions on what to do with the escaped single quotes in the output
from that TEXT field in the DB? I'm beginning to think I should just ereg()
it all back into the form I want before printing into the page...but if
there's a way to store literal string values without stuff being
escaped...I'd love to know.

jpc





More information about the thelist mailing list