| | |
| Stránka: 1 z 1
| [ Príspevkov: 7 ] | |
Autor | Správa |
---|
Registrovaný: 01.08.08 Prihlásený: 21.05.09 Príspevky: 12 Témy: 4 |
prosim poradte, stale mi vypisuje ten isty syntaxovy error unexpected T_VARIABLE, neviem si poradit ...tu je ten riadok
Kód: $rt = mysql_query("SELECT * FROM `characters` WHERE guid='$friend'") or die ('Error: '.mysql_error.' ());
|
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 Bydlisko: BA - WESTSIDE | Napísal p360t: 01.08.2008 16:16 | |
|
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. |
|
Registrovaný: 01.08.08 Prihlásený: 21.05.09 Príspevky: 12 Témy: 4 | Napísal autor témy Darkeye18: 01.08.2008 16:18 | |
|
ano, mam
|
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 Bydlisko: BA - WESTSIDE | Napísal p360t: 01.08.2008 16:19 | |
|
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. |
|
Registrovaný: 01.08.08 Prihlásený: 21.05.09 Príspevky: 12 Témy: 4 | Napísal autor témy Darkeye18: 01.08.2008 16:21 | |
|
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); } ?>
|
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 Bydlisko: BA - WESTSIDE | Napísal p360t: 01.08.2008 16:23 | |
|
Á, 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. |
|
Registrovaný: 01.08.08 Prihlásený: 21.05.09 Príspevky: 12 Témy: 4 | Napísal autor témy Darkeye18: 01.08.2008 16:27 | |
|
dakujem
|
|
| Stránka: 1 z 1
| [ Príspevkov: 7 ] | |
| Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre
|
|