php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "user name"

How can the user ensure that the author's name is not displayed as "---" when it is empty in the PHP code?

When the author's name is empty in the PHP code, it may display as "---" if not handled properly. To ensure that the author's name is not displayed as...

What is the purpose of retrieving the name of the database in PHP?

Retrieving the name of the database in PHP can be useful for various reasons, such as dynamically connecting to different databases based on user inpu...

How can PHP be used to display user data in a detail page after clicking on a user's name?

To display user data in a detail page after clicking on a user's name, you can pass the user's ID through the URL as a parameter. Then, in the detail...

In the provided database structure (id, name, time, path, referer, ip), what SQL query can be used to display the most recent activity of each user who has been active in the last 15 minutes?

To display the most recent activity of each user who has been active in the last 15 minutes, we can use the following SQL query: ```sql SELECT id, na...

What are the advantages of using $_SESSION['name'] = $name; over session_register() in PHP?

Using $_SESSION['name'] = $name; is preferred over session_register() in PHP because session_register() is deprecated as of PHP 5.3.0 and removed in P...

Showing 41 to 45 of 10000 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.