Feature Request - Table print view

5 posts by 3 authors in: Forums > CMS Builder
Last Post: August 25, 2009   (RSS)

By northernpenguin - August 22, 2009 - edited: August 24, 2009

Hi Dave: not sure if this will make the next release, but here is something I am interested in: the ability to print the structure of a table. My solution at the moment is to login to phpMyAdmin, select a table and "print view". It works, but would be useful if I could do that from within CMSB.

Food for thought!

Edit: detached and renamed thread (dave)
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

Re: [northernpenguin] Feature Request - Table print view

By Dave - August 24, 2009

Hi northernpenguin,

What's the purpose? If it's to see what variables you have available there's a need code snippet you can use for that with the latest beta release:

<?php xmp_r( $record ); ?>

Just replace record with whatever variable you want to see.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Feature Request - Table print view

By northernpenguin - August 24, 2009

Dave: I find it easier to have the database schema available in print when I am working with more than one db. Just a bit easier to make sure I am not using the wrong db/field combo, specially if any fieldnames are close to those in another db.

However, I will try your snippet and see what it does.

Thanx!
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

Re: [Djulia] Feature Request - Table print view

By northernpenguin - August 25, 2009

Hi Djulia: Very neat! I think this is a very useful program!!

Thank you very much.
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke