Hi,
I am kinda stuck with fetching data from mysql database into html file. The database could be displayed by running PHP (http://afghanpoem.com/display.php) with no issues. I have connection.php and display.php on the server, however running html file after published and running it from the server does not show the table, rather shows the entire codes as text. Since i am using template (master page for all my pages on the website, therefore i need to display the data on the html file (inside the template / master page).
- I also purchased Responsive Data Table Extension for WYSIWYG Web Builder, which i used the same credentials used in php files, filled the fields, but the result is the same, it shows the entire code, including username password etc as text.
I am i doing anything wrong?
is there any tutorial that for using Responsive Data Table Extension for WYSIWYG Web Builder and fetching data into HTML file.
Thanks
mysql into html page
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: mysql into html page
Did you set the page extension to PHP?
-
-
- Posts: 8
- Joined: Wed Jun 03, 2020 12:05 am
Re: mysql into html page
Thanks for the prompt reply.
no i have not changed it to PHP in the project. since WYSIWYG templates pages are all in html.
Thanks
no i have not changed it to PHP in the project. since WYSIWYG templates pages are all in html.
Thanks
Re: mysql into html page
You can set the page extension in the page properties.
PHP code will not work on a HTML page.
PHP code will not work on a HTML page.
-
-
- Posts: 8
- Joined: Wed Jun 03, 2020 12:05 am
Re: mysql into html page
i changed the file extension to php , still the same shows as text.
i tried it with HTML extension, as well as with Responsive Data Table Extension for WYSIWYG Web Builder.
The results are the same, while i can run my other php files from the server they are ok http://afghanpoem.com/display.php
i tried it with HTML extension, as well as with Responsive Data Table Extension for WYSIWYG Web Builder.
The results are the same, while i can run my other php files from the server they are ok http://afghanpoem.com/display.php
Re: mysql into html page
Where can I see the problematic page?
Note that the application does not change the code so if you have inserted it correctly then it should work.
But without seeing what you have done, there is nothing I can do to help.
Note that the application does not change the code so if you have inserted it correctly then it should work.
But without seeing what you have done, there is nothing I can do to help.
-
-
- Posts: 8
- Joined: Wed Jun 03, 2020 12:05 am
Re: mysql into html page
In fact i deleted the file from the server and republished, just works now.
much appreciated for the assitance and your prompt replies.
thanks a lot
much appreciated for the assitance and your prompt replies.
thanks a lot