[PHP] Dynamic Tables

2004-06-07 Thread Christopher J. Crane
What is the best way to produce a report listing the fieldname and then the data in that field. It is a report containing only one row from a table, but I don't want to hard code the fields since they change often. I can get the field names dynamically like this: $fields = mysql_list_fields("Netw

Re: [PHP] Dynamic tables

2003-10-17 Thread David Otton
On Fri, 17 Oct 2003 14:42:34 +0800, you wrote: >Right now, I am able to change the colour of cells using a drop down menu, and >when I clicked on "Reload" it still remains the colour that I have changed, but >when I open the page in another browser, as I echoed the value "colour", the >browser dis

[PHP] Dynamic tables

2003-10-16 Thread irinchiang
Hi all, Having a slight problem with dynamic tables here. I am trying to create a timetable using PHP, HTML, and MySQL, where all the cells in the table are coloured and that the colour of the cells can be changed using a drop down menu. Here's a snip of the code that I have done: class

Re: [PHP] Dynamic tables-Change cell colour with drop down menu[Scanned]

2003-10-02 Thread irinchiang
On Fri, Oct 03, 2003 at 11:27:25AM +0800, [EMAIL PROTECTED] wrote: : : I have tried using the methos you have mentioned. But it was not : successful as the cell doesn't seem to be able to GET the COLOUR : selected from the drop down menu. This is a small part of my code : : : cell1 : : & : :

Re: [PHP] Dynamic tables-Change cell colour with drop down menu[Scanned]

2003-10-02 Thread irinchiang
On Fri, Oct 03, 2003 at 11:27:25AM +0800, [EMAIL PROTECTED] wrote: : : I have tried using the methos you have mentioned. But it was not : successful as the cell doesn't seem to be able to GET the COLOUR : selected from the drop down menu. This is a small part of my code : : : cell1 : : & : :

Re: [PHP] Dynamic tables-Change cell colour with drop down menu[Scanned]

2003-10-02 Thread Eugene Lee
On Fri, Oct 03, 2003 at 11:27:25AM +0800, [EMAIL PROTECTED] wrote: : : I have tried using the methos you have mentioned. But it was not : successful as the cell doesn't seem to be able to GET the COLOUR : selected from the drop down menu. This is a small part of my code : : : cell1 : : & :

RE: [PHP] Dynamic tables-Change cell colour with drop down menu[Scanned]

2003-10-02 Thread irinchiang
Hi : I have tried using the methos you have mentioned. But it was not successful as the cell doesn't seem to be able to GET the COLOUR selected from the drop down menu. This is a small part of my code : cell1 & Red Grey white Pink Blue Yellow Cyan No matter which colour I select. The c

Re: [PHP] Dynamic tables-Change cell colour with drop down menu

2003-10-02 Thread irinchiang
I want it to be available on the SERVER side too.. For this, javascript is unable to do it. That is why I want to use only PHP to the the dynamic table which I have mentioned. Any idea how can I change the colour of the cell from a drop down menu? Regards, Irin. -- PHP General Mailing List (h

Re: [PHP] Dynamic tables-Change cell colour with drop down menu

2003-10-02 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: I do not want to it using javascript as java script can only display data on the client side but not the server side. You can make the data available on the client side. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Dynamic tables-Change cell colour with drop down menu[Scanned]

2003-10-02 Thread Michael Egan
resulting page, i.e. $colour, which you could then use when creating the cell in the table - HTH, Michael Egan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 11:40 To: 'PHP General' Subject: [PHP] Dynamic tables-Change cell colour with

[PHP] Dynamic tables-Change cell colour with drop down menu

2003-10-02 Thread irinchiang
Hi all: I am doing a dynamic kinda timetable where all the cells are uniquely coloured. And then for each cell, I would like to change its colour through a dropdown menu. This dropdown menu should of course have a list of colours for me to choose. Once I have selected the colour I want, the parti