dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: speedy78

Search: Search took 0.01 seconds.

  1. Coded a working code once I removed errors I was having

    Fixed main.php


    <?php
    require ("db/conn.php");
    session_start();
    $user = $_SESSION['uname'];
    if($user)
    {
    $id = $row['id'];
  2. Finally coded something that works kind of

    <?php
    require ("db/conn.php");
    session_start();
    $user = $_SESSION['uname'];
    if($user)
    {
    $id = $row['id'];
    $sql = mysql_query( "SELECT * FROM users" );
    $row =...
  3. New main.php

    I chnaged my main php to this


    <?php
    require("db/conn.php");
    $id = $_SESSION['ID']; //Get user's ID
    $result = mysql_query("SELECT * FROM `users` where id='$id'");
    $row =...
  4. My main.php file it directs to once the user is...

    My main.php file it directs to once the user is loggedin



    <?php
    require("db/conn.php");
    $sql = "select * from users";
    $result = mysql_query ($sql);

    while ($row =...
  5. My login.php

    My login.php


    <?php
    require("db/conn.php");
    session_start();
    $uname = $_POST['uname'];
    $pword = $_POST['pword'];
    if($uname&&$pword)
    {
  6. Same Problem

    I am working on the same thing currently. And the problem I am having is figuring out how to get it where my page displays only the user information that is logged in. I'll locate and post my...
Results 1 to 6 of 6
HTML5 Development Center



Recent Articles