boxyyy Posted October 6, 2021 Share Posted October 6, 2021 Hi. I have a PHP website which shows some data when I select a tag. One tag is not displaying anything although the data from SQL is received in the front end. do you think there is a syntax error in my code? How can I solve it? Quote Link to comment https://forums.phpfreaks.com/topic/313880-how-to-display-data-on-the-website/ Share on other sites More sharing options...
Barand Posted October 6, 2021 Share Posted October 6, 2021 The easiest way is to spray your code liberally with a DataKillTM aerosol. This is known to eliminate 99.99% of all program bugs. If you can't get hold of a can, you'll have to manually debug your code. 1 Quote Link to comment https://forums.phpfreaks.com/topic/313880-how-to-display-data-on-the-website/#findComment-1590722 Share on other sites More sharing options...
ginerjm Posted October 6, 2021 Share Posted October 6, 2021 What kind of a tag is failing you? Is it similar to 'working' tags? Do you realize how silly your post is? We're programmers, not seers Quote Link to comment https://forums.phpfreaks.com/topic/313880-how-to-display-data-on-the-website/#findComment-1590727 Share on other sites More sharing options...
gizmola Posted October 6, 2021 Share Posted October 6, 2021 13 hours ago, boxyyy said: Hi. I have a PHP website which shows some data when I select a tag. One tag is not displaying anything although the data from SQL is received in the front end. do you think there is a syntax error in my code? How can I solve it? You are asking for a guess. We need to see some code, and a reproducible example. With that said, here is some things I think would help narrow down the possibility: Check the database. Is there anything in the data for this particular tag that could break html Check your browser developer tools. Is there any strange markup? Are there javascript errors in the console relevant to this page, vs other working tag pages Quote Link to comment https://forums.phpfreaks.com/topic/313880-how-to-display-data-on-the-website/#findComment-1590736 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.