About 14,400,000 results
Open links in new tab
  1. PHP List Users from SQL Database in Table - Stack Overflow

    Oct 25, 2015 · $query = mysql_query("SELECT * FROM list_users ORDER by id"); while($row = mysql_fetch_array($query)){ echo "<tr>"; echo "<td>".$row['uuid']."</td>"; echo "<td>".$row['firstname'].$rowtwo['lastname']."</td>"; echo "<td>".$row['email']."</td>"; echo "<td>".$row['security_key']."</td>"; echo "<td>".$row['phone_no']."</td>";

  2. Accessing database and display registered users through PHP

    $sql = "SELECT `user_name` FROM `users` WHERE `user_level` = 1 ORDER BY `user_name` ASC"; For your add to friend question, you could do something like this: while($user = mysql_fetch_array($result)) echo $user['user_name'].' <a href="addfriend.php?user='.$user['id'].'">ADD TO FRIENDS</a><br/>';

  3. How to display logged in user information in PHP

    Nov 24, 2021 · The first step is to create a database, and then a table inside it. The database is named ‘registration’, and the table is named ‘users’. The ‘users’ table will contain 4 fields.

  4. php - How to create a list view from a database table? - Stack Overflow

    I'm querying a category table id, parent_id, name to generate list view of all the categories and sub-categories. What I have so far is: HP Laptops; PC; Sports Sunglasses; Food; House; The function that I use to generate the output is:

  5. Display MySql data in Drop down list box using PHP

    Apr 25, 2021 · Step 1 : Creating a table (skill_set) in Post database. Step 2 : Insert data using SQL query. Step 3 : Create a HTML form with drop down list box (select form control) Step 4 : Design PHP code to select data from MySql table and display in drop down list box in …

  6. Creating a drop down list box using data from MySQL table

    What are the different methods to retrieve data from a MySQL table in PHP, such as mysqli and PDO? How do you retrieve specific columns from a MySQL table to populate a dropdown list? How do you handle duplicate values in the MySQL table while populating the dropdown list?

  7. [Solved] How to Show All Users in MySQL Database in PHP

    Feb 8, 2025 · How do I list all users in a MySQL database using PHP? To list all users, write a PHP script that connects to your MySQL database, then use a SELECT SQL query to fetch user data. The script should execute this query and output the results, typically using a loop to iterate through all the records.

  8. Displaying Data with HTML Tables in PHP - Techieclues

    Aug 10, 2023 · In this article, we will explore how to display data in an HTML table using PHP. This step-by-step tutorial covers creating a MySQL query, writing PHP code to generate an HTML table, and populating it with data from a database.

    Missing:

    • User View

    Must include:

  9. How to use Mysql View in PHP Code - Webslesson

    View can be create by using CREATE VIEW statement and then after writing simple query. View is store on to database table just like other tables. Suppose you want to called view from php code then you have to write simple select with name of view.

  10. How to Create Table in PHP - Delft Stack

    Feb 2, 2024 · This tutorial will introduce a way to create a table in PHP. We will read the data from the database table and populate the data in an HTML table using PHP. Create HTML Table and Display the Data from Database in PHP