Web Front-end development-php dynamic web page beginners

Source: Internet
Author: User
What should I do if I want to dynamically generate data from the database to the webpage. Php beginners. Is php code used to connect to the database and the displayed code written on a page. Every time you use tag a to connect to the same php file, the php code queries data in the database and returns the data to the current page... what should I do if I want to dynamically generate data from the database to the webpage. Php beginners.
Is php code used to connect to the database and the displayed code written on a page. Every time you connect to the same php file with tag a, the php code queries data in the database and returns the data to the current page to display the content.

Reply content:

What should I do if I want to dynamically generate data from the database to the webpage. Php beginners.
Is php code used to connect to the database and the displayed code written on a page. Every time you connect to the same php file with tag a, the php code queries data in the database and returns the data to the current page to display the content.

If you are a beginner, we recommend that you first familiarize yourself with the most basic syntax and common functions, find a framework for a small project, and then learn its structure through this framework!
At the beginning of school, I basically made a demo on a page. I learned the basics and learned about the MVC mode. I learned more and more slowly!

You can either write one or two, connect to the database in the file, execute the query, and obtain the result print.



  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.