User Profile
Collapse
-
Thanks that worked, I was being stupid as per usual, sorry for being confusing.... -
opps sorry I hadn't seen your post before, I will do in future.Leave a comment:
-
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
... -
then how do i get $a = $schque so I can use it for
$query="SELECT * FROM user WHERE username='$a'";...Leave a comment:
-
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...Leave a comment:
-
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'";
... -
-
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...
No activity results to display
Show More
Leave a comment: