/ Forside / Teknologi / Udvikling / PHP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
PHP
#NavnPoint
rfh 3959
natmaden 3372
poul_from 3310
funbreak 2700
stone47 2230
Jin2k 1960
Angband 1743
Bjerner 1249
refi 1185
10  Interkril.. 1146
PHP & Frame
Fra : JMS


Dato : 29-03-01 11:31

How an I work with Frame into a PHP code ?

here is my code :
<?
global $lg;
include("langue.php3");
include("connection_data.php3");
include("mysql_func.php3");
$lk=connect();
$db="TIM";
$sql="select * from client where nom = '$userlogin' and password =
'$pwdlogin'";
if ($res=send_sql($db,$sql)) {
}
$obj=mysql_fetch_object($res,MYSQL_ASSOC);

if (($obj->nom)==$userlogin) {
?>
blahblah........
<?
<?
}
if (($obj->nom)<>$userlogin) {
Header("Location: nouveauclient.php3?lg=$lg");
}
?>

problems is with this :

if (($obj->nom)<>$userlogin) {
Header("Location: nouveauclient.php3?lg=$lg");
}

how can I the target note ???

thank
JMS

 
 
Jonas Delfs (29-03-2001)
Kommentar
Fra : Jonas Delfs


Dato : 29-03-01 15:33

"JMS" <jms@skynet.be> skrev i en meddelelse
news:3ac30ecb.10716893@news.skynet.be...
> How an I work with Frame into a PHP code ?
>
> here is my code :
> <?
> global $lg;
> include("langue.php3");
> include("connection_data.php3");
> include("mysql_func.php3");
> $lk=connect();
> $db="TIM";
> $sql="select * from client where nom = '$userlogin' and password =
> '$pwdlogin'";
> if ($res=send_sql($db,$sql)) {
> }
> $obj=mysql_fetch_object($res,MYSQL_ASSOC);
>
> if (($obj->nom)==$userlogin) {
> ?>
> blahblah........
> <?
> <?
> }
> if (($obj->nom)<>$userlogin) {
> Header("Location: nouveauclient.php3?lg=$lg");
> }
> ?>
>
> problems is with this :
>
> if (($obj->nom)<>$userlogin) {
> Header("Location: nouveauclient.php3?lg=$lg");
> }
>
> how can I the target note ???

You can't

> thank
> JMS



Søg
Reklame
Statistik
Spørgsmål : 177523
Tips : 31968
Nyheder : 719565
Indlæg : 6408676
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste