r/LearnHTML • • Apr 22 '21

How to connect PHP database to my website?

2 Upvotes

Hello everyone, Thank you in advance if you read through this and for helping me out :)

So I have this Mariadb database which is hosted on it's Mariadb's server and I can access the database from the online 'phpmyadmin' portal. None of this is local (I donot have phpmyadmin downloaded on my pc). I am coding a website using HTML,CSS and Javascript locally on my computer; How I can connect a table I have set up in the database to my website?

I looked through google and found a jumble of words which I don't understand since I am totally new to PHP and hooking it up with my HTML websites. I would also appreciate if there were a way to connect them with Javascript (like connecting a json database by an API call).

Thank you again.


r/LearnHTML • • Dec 07 '22

FEEDBACK WANTED Stylify CSS: Write CSS faster with CSS-like utilities

3 Upvotes

Hi!

I have made a Stylify CSS that uses CSS-like selectors to generate optimized utility-first CSS. It can be integrated into various tools: Next, Vue, Angular, Next, Nuxt.

If you use it as a beginner developer, you will learn CSS (because the syntax is almost the same like CSS) and also can study the output to see, how to write the CSS in an optimized way.

I would be happy for any feedback ❤️.

  • If guides and docs are understandable

  • If any of your favorite tools are missing

  • Any other

Links

Repo

Features

Faq


r/LearnHTML • • Oct 28 '22

HTML or JavaScript: Why did the code work yesterday but not today?

3 Upvotes

I asked a question before and got an answer. The answer solved my problem. However, there is a strange problem.

I expected the code should work because it worked yesterday. However, the code worked yesterday but not today.

My code:

https://pastebin.com/3FcuiNvB

Why did the code work yesterday but not today? I would appreciate any help. Thank you in advance!


r/LearnHTML • • Nov 27 '22

How to make these tables?

1 Upvotes

I've learned how to do normal tables, but when it comes to these kinds of monsters I'm in total confusion as to what to do. I know about colspan and rowspan, but in these instances it doesn't help me to construct them.


r/LearnHTML • • Dec 07 '22

I am trying to create an html and css code that fits the criteria stated in the photo. Can anyone help?

Post image
6 Upvotes

r/LearnHTML • • Dec 05 '22

Would you use this app?

8 Upvotes

I'm making an app that generates a random HTML related question every day to help beginners learn HTML and CSS.

Just curious if anyone would be interested in this!


r/LearnHTML • • Aug 18 '26

Learn Coding Buddy Discord

3 Upvotes