How show data from database
Auteur : David R.
Visité 1070,
Followers 1,
Partagé 0
Hi
I already have a database which is currently in use. I have not used WebsiteX5 to create it or to update it. However I want to use WebsiteX5 to read rows inserted (for instance using something like a listview).
How can I do that?
My version is WebsiteX5 2021.1.3
thanks in advance
Posté le
Hello David,
Something like this: https://wsx5demo.afsoftware.fr/database.php
Needs to add some code into WSX5 to do that and customize your displaying.
Enjoy!
Axel
Auteur
thanks Axel!
looks like "Simple displaying" it is what I need... is it possible to change the color of cell background (not entire row) depending on string result?
I attach sample image.
What you see is what I have already designed but it is only for desktop and I want to show same results in a web browser whether it is Pc or mobile.
So my choice is WebsiteX5 for front-end and I need some way to connect to database and show results.
David R.
Hello David,
Contact me by this way https://www.afsoftware.fr/contact.html
I will send you a zipped file with the code to use.
Yes the code is opened, so you can change it. But this code is not from me, and I don't support it
It is up to you
Enjoy!
Axel
Auteur
I contacted you trough the provided webform.
@David
Put your screenshots here after instalaltion OK
Enjoy!
Axel
Hello David,
Do you have you installed the script yet ?
screenshots ?
Enjoy!
Axel
Auteur
Hi, Axel
I have found that the script is quite powerful but rather unintuitive to configure. It requires many manual tweaks to have it working the way I need it.
I am short in time so I have found a quicker solution that is outside of Website X5.
I am sure that later, when I have more time, I will try again with the script that you very generously shared with me.
Thanks.
David R.
I use Caspio to show description and price from 25000 items.
Only problem it doesnt work on mobile device - only desktop, but that is ok 90% of my users are desktop.
You can see it work here: https://www.abthermal.com/got-a-part-number-get-a-description-and-price.html
Auteur
Adrian, thanks I appreciate the tip.
I need both Pc and mobile development. I ended up using Mysql PHP Generator which provides just what I need and very quickly.
David R.