Database Help |
|
|
Jung Mitglied
|
afoster Geschrieben am 11.02.2019 um 23:46 |
|
This is not php-fusion related although some of the code is php-fusion based, but I'm hoping someone can help me with some code. I am trying to pull information from a mysql table and display it in three columns. The file I am attaching here works by displaying the data in two columns, but I want it displayed in 3 columns. Any assistance would be much appreciated. Thank you. |
Bearbeitet von David am 12.02.2019 um 02:18
|
|
|
|
Seiten Administrator
|
David Geschrieben am 12.02.2019 um 02:20 |
|
Hello Afoster,
i dont understand what you excactly mean, please explain it with more Details and/or Images.
I also deleted the attached File, because you have in the File the MySQL Connection Datas included. Please change your Password because of prevent Security Problems.
Greets, David.
PS.: Sorry for my bad English. |
Liebe Grüße, euer David.
Aktiver PHP-Fusion Nutzer seit 3. September 2006
--------------------------------------------------------
PHP-Fusion Österreich Seitenbetreiber.
|
|
|
|
Jung Mitglied
|
afoster Geschrieben am 12.02.2019 um 05:33 |
|
Zitat David schrieb:
Hello Afoster,
i dont understand what you excactly mean, please explain it with more Details and/or Images.
I also deleted the attached File, because you have in the File the MySQL Connection Datas included. Please change your Password because of prevent Security Problems.
Greets, David.
PS.: Sorry for my bad English.
Thank you for your response. The connection data in the file was to my localhost on my computer and not online, so I believe it is OK. I am attaching it again here for your information. I am also attaching a screen shot of the display generated by the file. As you can see, it is displaying the data in two columns. I want that same information displayed in 3 columns. |
afoster hat folgendes Bild angehängt:
|
|
|
|
Seiten Administrator
|
David Geschrieben am 21.02.2019 um 17:33 |
|
Hello Afoster,
sorry for the late Answer.
Please try my attached File - Backup your old. I hope it works, if not, please post Error Messages.
Greets, David. |
Liebe Grüße, euer David.
Aktiver PHP-Fusion Nutzer seit 3. September 2006
--------------------------------------------------------
PHP-Fusion Österreich Seitenbetreiber.
|
|
|
|
Jung Mitglied
|
afoster Geschrieben am 22.02.2019 um 16:27 |
|
Zitat David schrieb:
Hello Afoster,
sorry for the late Answer.
Please try my attached File - Backup your old. I hope it works, if not, please post Error Messages.
Greets, David.
David,
Thank you so much for responding to my request. After trying your file, all I get is a display that shows the header, the number of submitted picks and the headers for the three columns. Unfortunately, no data is being pulled in the columns. I was looking at your attachment to see if I could see the reason for this, but I don't know enough PHP to be able to determine what is causing the problem. Please see the attached screen shot that shows what I mean. |
afoster hat folgendes Bild angehängt:
|
|
|
|
Seiten Administrator
|
David Geschrieben am 23.02.2019 um 10:13 |
|
Hello Afoster,
please try my new attached File .. i had in the old one a little failure.
Greets, David. |
Liebe Grüße, euer David.
Aktiver PHP-Fusion Nutzer seit 3. September 2006
--------------------------------------------------------
PHP-Fusion Österreich Seitenbetreiber.
|
|
|
|
Jung Mitglied
|
afoster Geschrieben am 23.02.2019 um 15:23 |
|
Zitat David schrieb:
Hello Afoster,
please try my new attached File .. i had in the old one a little failure.
Greets, David.
Thanks again for your help and maybe we are getting closer. Here is a screenshot of the display after the last file you sent me. |
afoster hat folgendes Bild angehängt:
|
|
|
|
Seiten Administrator
|
David Geschrieben am 23.02.2019 um 15:41 |
|
Good, please search for the following Line:
And replace it with the following:
$rows2 = round($rows2 / 3);
Greets, David. |
Liebe Grüße, euer David.
Aktiver PHP-Fusion Nutzer seit 3. September 2006
--------------------------------------------------------
PHP-Fusion Österreich Seitenbetreiber.
|
|
|
|
Jung Mitglied
|
afoster Geschrieben am 23.02.2019 um 16:22 |
|
It works....thank you so much. A couple more questions and I will leave you alone.
What code needs to be changed to make the space between columns thinner
Will this code work without using maincore.php? I would like to adapt this to other databases that are not php-fusion based.
Zusammengefügt am 26. Februar 2019 um 19:46:14:
UPDATE: I got it working without the maincore.php requirement. Thanks again for your help. |
Bearbeitet von afoster am 26.02.2019 um 19:46
|
|
|
|
Seiten Administrator
|
David Geschrieben am 06.03.2019 um 12:31 |
|
No Problem
I am happy, that it works. Enjoy and have Fun
Greets, David. |
Liebe Grüße, euer David.
Aktiver PHP-Fusion Nutzer seit 3. September 2006
--------------------------------------------------------
PHP-Fusion Österreich Seitenbetreiber.
|
|
|