User Profile

Collapse

Profile Sidebar

Collapse
DaedalusShadow
DaedalusShadow
Last Activity: Mar 7 '07, 10:28 AM
Joined: Mar 1 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • DaedalusShadow
    replied to Session Variables
    in PHP
    Thanks that worked, I was being stupid as per usual, sorry for being confusing....
    See more | Go to post

    Leave a comment:


  • DaedalusShadow
    replied to Cache Problem
    in PHP
    opps sorry I hadn't seen your post before, I will do in future.
    See more | Go to post

    Leave a comment:


  • DaedalusShadow
    started a topic Cache Problem
    in PHP

    Cache Problem

    I've got this piece of code;
    [php]
    <?php
    session_start() ;
    $LogCheck=$_SES SION['LogFail'];
    if($LogCheck==" True")
    {
    $LogRes="Incorr ect Username or Password";
    }
    elseif($LogChec k=="Pass")
    {
    echo '<meta content="0; URL=home.php" http-equiv="Refresh" />';
    $LogRes="Logged In";
    }
    else
    ...
    See more | Go to post
    Last edited by ronverdonk; Mar 5 '07, 04:14 PM. Reason: code within tags and warning

  • DaedalusShadow
    replied to Session Variables
    in PHP
    then how do i get $a = $schque so I can use it for

    $query="SELECT * FROM user WHERE username='$a'";...
    See more | Go to post

    Leave a comment:


  • DaedalusShadow
    replied to Session Variables
    in PHP
    I've got that further up, sorry should have posted it as well.

    It won't take the variable from $schque and put it into $a...
    See more | Go to post

    Leave a comment:


  • DaedalusShadow
    started a topic Session Variables
    in PHP

    Session Variables

    I've got this piece of script:
    [php]
    $schque = $_SESSION['user'];
    $a=$_REQUEST['$schque'];
    $username="daed alus_admin";
    $password="test ";
    $database="daed alus_db";

    mysql_connect(l ocalhost,$usern ame,$password);
    @mysql_select_d b($database) or die( "Unable to select database");
    $query="SELECT * FROM user WHERE username='$a'";
    ...
    See more | Go to post
    Last edited by ronverdonk; Mar 2 '07, 03:04 PM. Reason: place code within tags

  • DaedalusShadow
    replied to Variable after WHERE
    in PHP
    Thanks this works perfectly, I owe you one....
    See more | Go to post

    Leave a comment:


  • DaedalusShadow
    started a topic Variable after WHERE
    in PHP

    Variable after WHERE

    I've got a piece of script that works that looks like this:
    _______________ _______________ _______________ ______________

    $username="daed alus_admin";
    $password="test ";
    $database="daed alus_db";

    mysql_connect(l ocalhost,$usern ame,$password);
    @mysql_select_d b($database) or die( "Unable to select database");

    $query="SELECT * FROM user WHERE...
    See more | Go to post
No activity results to display
Show More
Working...