[英]I want to fetch and display users info on page from db when someone goes to the url https://example.com/{username}
I have user information in the database table.我在数据库表中有用户信息。 I want to fetch and display the user's info on the page from DB when someone goes to the URL https://example.com/{username}
.当有人访问 URL https://example.com/{username}
时,我想从 DB 获取并显示页面上的用户信息。 But I am confused about how to get it done since the https://example.com/{username}
page doesn't exist.但是我对如何完成它感到困惑,因为https://example.com/{username}
页面不存在。 I am using PHP and MySQL.我正在使用 PHP 和 MySQL。 I am in the learning phase.我正处于学习阶段。 It would be nice if someone could tell me what I need to get this done and what am I supposed to learn for this.如果有人能告诉我完成这项工作需要什么以及我应该为此学习什么,那就太好了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.