[ Príspevkov: 7 ] 
AutorSpráva
Offline

Užívateľ
Užívateľ
Obrázok užívateľa

Registrovaný: 01.08.08
Prihlásený: 21.05.09
Príspevky: 12
Témy: 4 | 4
NapísalOffline : 01.08.2008 16:14 | pomoc

prosim poradte, stale mi vypisuje ten isty syntaxovy error unexpected T_VARIABLE, neviem si poradit :cry: ...tu je ten riadok

Kód:
$rt = mysql_query("SELECT * FROM `characters` WHERE guid='$friend'") or die ('Error: '.mysql_error.' ());


Offline

Skúsený užívateľ
Skúsený užívateľ
pomoc

Registrovaný: 30.05.06
Prihlásený: 08.10.14
Príspevky: 1756
Témy: 35 | 35
Bydlisko: BA - WESTSIDE
NapísalOffline : 01.08.2008 16:16 | pomoc

Pozri sa o riadok vyššie, či ho máš správne ukončený bodkočiarkou.


_________________
A. S. Tanenbaum píše:
The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice.
Offline

Užívateľ
Užívateľ
Obrázok užívateľa

Registrovaný: 01.08.08
Prihlásený: 21.05.09
Príspevky: 12
Témy: 4 | 4
Napísal autor témyOffline : 01.08.2008 16:18 | pomoc

ano, mam


Offline

Skúsený užívateľ
Skúsený užívateľ
pomoc

Registrovaný: 30.05.06
Prihlásený: 08.10.14
Príspevky: 1756
Témy: 35 | 35
Bydlisko: BA - WESTSIDE
NapísalOffline : 01.08.2008 16:19 | pomoc

Tak daj celý kód, takéto chyby síce majú označený riadok výskytu, ale príčina je takmer vždy na inom riadku.


_________________
A. S. Tanenbaum píše:
The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice.
Offline

Užívateľ
Užívateľ
Obrázok užívateľa

Registrovaný: 01.08.08
Prihlásený: 21.05.09
Príspevky: 12
Témy: 4 | 4
Napísal autor témyOffline : 01.08.2008 16:21 | pomoc

Kód:
<?php
include("config.php");
include("lib_player.php");

$nick=$_GET["nick"];
$player=new player();

$guid=$player->GetGuid($nick);

$rs=mysql_query("SELECT friend,note FROM `character_social` WHERE guid='$guid' AND flags=1") or die ('Error: '.mysql_error.' ());

while ( $row = mysql_fetch_array($rs)) {
     $friend=$row["friend"];
     $note=$row["note"];

$rt=mysql_query("SELECT * FROM `characters` WHERE guid='$friend'") or die ('Error: '.mysql_error.' ());

while ( $row2 = mysql_fetch_array($rt)) {

   echo $player->GetNick($friend);
     
   }
   mysql_free_result($rt);
   }
   mysql_free_result($rs);
   }
?>


Offline

Skúsený užívateľ
Skúsený užívateľ
pomoc

Registrovaný: 30.05.06
Prihlásený: 08.10.14
Príspevky: 1756
Témy: 35 | 35
Bydlisko: BA - WESTSIDE
NapísalOffline : 01.08.2008 16:23 | pomoc

Á, tak nakoniec to bolo v tom vypísanom riadku, len som si to nevšimol. Správne je ten riadok takto:
Kód:
$rt = mysql_query("SELECT * FROM `characters` WHERE guid='$friend'") or die ('Error: '.mysql_error());


_________________
A. S. Tanenbaum píše:
The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice.
Offline

Užívateľ
Užívateľ
Obrázok užívateľa

Registrovaný: 01.08.08
Prihlásený: 21.05.09
Príspevky: 12
Témy: 4 | 4
Napísal autor témyOffline : 01.08.2008 16:27 | pomoc

dakujem :)


 [ Príspevkov: 7 ] 


pomoc



Podobné témy

 Témy  Odpovede  Zobrazenia  Posledný príspevok 
V tomto fóre nie sú ďalšie neprečítané témy.

pomoc pomoc prosim nefunguje internet

v Ovládače

7

1399

09.09.2017 20:37

Smith Wesson

V tomto fóre nie sú ďalšie neprečítané témy.

Pomoc pri pomoc pri skladaní PC - od 1 500 do 1 800 Eur (rozlíšenie 1440p)

v PC zostavy

13

1121

28.09.2023 20:23

johny314

V tomto fóre nie sú ďalšie neprečítané témy.

pomoc

v Frontend

2

1000

15.05.2009 20:15

firewall

V tomto fóre nie sú ďalšie neprečítané témy.

pomoc

v nVidia grafické karty

1

1178

02.02.2007 10:51

Harlequin

V tomto fóre nie sú ďalšie neprečítané témy.

POMOC

[ Choď na stránku:Choď na stránku: 1, 2 ]

v Ostatné

30

2624

27.09.2009 20:01

workoholik16

V tomto fóre nie sú ďalšie neprečítané témy.

Pomoc?

v Frontend

1

668

09.08.2017 20:01

BX

V tomto fóre nie sú ďalšie neprečítané témy.

pomoc

v AMD grafické karty

10

1221

10.01.2008 8:48

kasom

V tomto fóre nie sú ďalšie neprečítané témy.

POMOC ???

v Ostatné

2

1374

27.03.2008 14:32

Martinek6

V tomto fóre nie sú ďalšie neprečítané témy.

Pomoc

v Audio programy

4

1111

05.02.2008 10:06

raikonen11

V tomto fóre nie sú ďalšie neprečítané témy.

pomoc

v Ostatné

13

1123

08.08.2009 22:16

malcolm

V tomto fóre nie sú ďalšie neprečítané témy.

Pomoc!

v Procesory

6

1166

02.02.2008 18:27

Jaro

V tomto fóre nie sú ďalšie neprečítané témy.

pomoc !

v Ovládače

1

1118

18.08.2007 16:07

johny128

V tomto fóre nie sú ďalšie neprečítané témy.

pomoc

v AMD grafické karty

3

830

04.03.2008 15:00

Mir

V tomto fóre nie sú ďalšie neprečítané témy.

Pomoc

v Windows

3

781

29.12.2007 18:42

Dzimbo

V tomto fóre nie sú ďalšie neprečítané témy.

pomoc

v Kôš

1

38

25.04.2017 20:16

JanoF

V tomto fóre nie sú ďalšie neprečítané témy.

Pomoc

v Zvuk

2

963

24.11.2007 17:30

optyx



© 2005 - 2026 PCforum, edited by JanoF