If my ID registered on the homepage is apple
How can I make the code appear like, "Hello, apple" on the product details image?
And put "_My ID" at the end of the site's address naver.com/_apple Like this, you can add an underhyphen I'd like to create a personal page for each member.
I made a button to go straight to this page What code should I enter to connect to the above address on this button?
html css
Think about Excel. If there are only two products, it may be much better to manage up to two sheets by hand. But what if there are 200 products? Of course, we're going to put together an Excel function. At this point, you will "enter" a "code" that refers to a particular cell value. So far, you don't have any questions as to why you have to?
But this principle is actually the same on the homepage. In terms of "output," Excel sheets and HTML are the same. If there are only two members, it would be better to make each page for member 1 and member 2, but if there are more members than that:
If you are using a shopping mall solution, please contact the manufacturer of the solution, and if not... Well... If you're learning PHP, you'll "enter" a code" like this.
<!-- Assume that $member contains data that has been inquired by DB such as MySQL.
If $member is a PHP object with properties such as name and username... -->
<!-- You can refer to the name of the $member. -->
Hi <?= $member->name; ?>
<!-- My site.com/_ can be printed with $member's username on the screen. -->
<a href="https://My Site.com/_<?= echo $member->username;?>">Go to My Personal Page</a>
I'm not sure how long you're going to go on, but start something anyway. I hope it was helpful.
© 2024 OneMinuteCode. All rights reserved.