CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 formatting Non searchable Grid into tables

Print topic Send  topic

Author Message
softmafia

Posts: 44
Posted: 12/31/2004, 2:58 AM

Please i am newbie in Php i need help on this issue i need to generate a page which will be my home page and on it will be display of products i have done it but it is Vertical.
but i want the grid to be displayed in a tabular for with 4 rows and 4 colums how do i achive this
_________________
softmafia
View profile  Send private message
Martin K
Posted: 12/31/2004, 3:23 AM

Hello.
Take a look hear.
This is an examle for CCS for your problem:
http://www.gotocode.com/art.asp?art_id=258&

greets martin
troy
Posted: 03/20/2005, 8:10 PM

hello.
i have tryed this example.
I have grid called catalog, so i changed the name in the example'languares" to catalog.
but i get a error witch says:
Fatal error: Call to a member function on a non-object in c:\easyphp1-71\www\musicstore\Common.php on line 361

help...
troy
Posted: 03/20/2005, 8:23 PM

hi there,
I should explain more.
I want to show a grid witch displays items from a catalog horisontal,
not vertail, if that is possible, I can do it with dreamweaver allight. but not with CSS.
I am using CSS,PHP,MYSQL.
Cheers...
Damian Hupfeld
Posted: 03/20/2005, 8:51 PM

Go into HTML view and move the <!-- BEGIN Row --> and <!-- END Row -->

<!-- BEGIN Row -->
<tr>
<td>{record} </td>
</tr>
<!-- END Row -->

To something like this:

<tr>
<td> <!-- BEGIN Row -->{record},  <!-- END Row --></td>
</tr>

And the data will change from:

record1
record2
record3
etc

to

record1, record2, record3, etc

regards
Damian Hupfeld
http://www.nexthost.com.au/services.php





"troy" <troy@forum.codecharge> wrote in message
news:5423e4c45b2d00@news.codecharge.com...
> hi there,
> I should explain more.
> I want to show a grid witch displays items from a catalog horisontal,
> not vertail, if that is possible, I can do it with dreamweaver allight.
> but not
> with CSS.
> I am using CSS,PHP,MYSQL.
> Cheers...
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

troy
Posted: 03/20/2005, 9:21 PM

hi there, thanks..
I have done that, but i want to show , for example, 4 records in a row horisontal, and then the records repeat that again, under the first row, the records come from a database.

cheers..
troy
Posted: 03/20/2005, 11:42 PM

hello
i was wondering if any of you had had succuss with the:

http://www.gotocode.com/art.asp?art_id=258&

code, regarding the 'sevaral collum example'

becauce I keep getting this error quote:

Fatal error: Call to a member function on a non-object in c:\easyphp1-71\www\musicstore\Common.php on line 361

thank you...
Damian Hupfeld
Posted: 03/22/2005, 3:06 AM

What are the output records? Images? Text?
If images you could resize them all to say 125px wide and then wet the table
width to 500px... If your record set returned 9 results it would look like:
1234
5678
9
Would that work for you?


"troy" <troy@forum.codecharge> wrote in message
news:5423e59da51295@news.codecharge.com...
> hi there, thanks..
> I have done that, but i want to show , for example, 4 records in a row
> horisontal, and then the records repeat that again, under the first row,
> the
> records come from a database.
>
> cheers..
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

GeorgeS

Posts: 206
Posted: 03/22/2005, 10:13 AM

Yes, that solution - http://www.gotocode.com/art.asp?art_id=258& "works"

You need to check if you have declared all global vars as it shown in the example - it looks like your error messg is giving you a hint that some of them are not declared...
_________________
GeorgeS
View profile  Send private message
jp
Posted: 05/08/2005, 12:24 AM

YES!! THIS IS EXACTLY WHAT I"VE BEEN LOOKING FOR!!

Thank you Damian....

Quote Damian Hupfeld:
Go into HTML view and move the <!-- BEGIN Row --> and <!-- END Row -->

<!-- BEGIN Row -->
<tr>
<td>{record} </td>
</tr>
<!-- END Row -->

To something like this:

<tr>
<td> <!-- BEGIN Row -->{record},  <!-- END Row --></td>
</tr>

And the data will change from:

record1
record2
record3
etc

to

record1, record2, record3, etc

regards
Damian Hupfeld
http://www.nexthost.com.au/services.php





"troy" <troy@forum.codecharge> wrote in message
news:5423e4c45b2d00@news.codecharge.com...
> hi there,
> I should explain more.
> I want to show a grid witch displays items from a catalog horisontal,
> not vertail, if that is possible, I can do it with dreamweaver allight.
> but not
> with CSS.
> I am using CSS,PHP,MYSQL.
> Cheers...
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>



Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.