Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 15:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Php]Table problem

Discussion on [Php]Table problem within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 10
Join Date: Nov 2009
Posts: 1,929
Received Thanks: 471
[Php]Table problem

Haiiho Pvpers

ich hab hier mal ein kleines Php problem unzwar wie gesagt geht es um eine Tabele meine Tabele siht so aus:



Wie man siht is die erste Zeile total verutscht ich poste mal hier meinen Code... Ich will das die erste Zeile gerade is wie die anderen drunter.

Code:
.Dêvile- is offline  
Old 11/03/2010, 08:52   #2
 
-AmA-'s Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 728
Received Thanks: 460
Also ... sieht mir ein wenig nach schrott aus...
Bin nicht php König aber hier mal meine änderungen... Ich kann sie momentan nicht testen aber ich versuche so korekt wie möglich zu korrigieren

So das sollte glaub ich dein Fehler sein...

PHP Code:
<th><?php mysql_select_db('ancestra_other',$db);
$result1 mysql_query("SELECT * FROM personnages WHERE account = '$guid'");
while (
$row1 mysql_fetch_array($result1))
{
if (
$row1 == NULL)
{
?>
Kein Zeichen
<?php }
else
{
?></th>
Kanst du mir sagen was in dem <th></th> steht?
Ich sags dir... nichts! ;D

Nun da ich gerade guter Laune bin schreibe ich ihn dir neu...
Must aber ein wenig gedulden

Edit:
So fertig
Wenn du den Code nicht verstehst oder es ein Fehler ausgiebt dan schreib das...


Edit2:
Nun ich sehe dass dies eine Seite zu einem Game wird...
Sofern die Variable $guid per Post oder Get übergeben wird, habe ich die MySQL Tabelle der Benutzerdaten innerhalb von 5 Minuten vor mir...

Siehe dir mal und an
-AmA- is offline  
Old 11/03/2010, 14:58   #3
 
elite*gold: 10
Join Date: Nov 2009
Posts: 1,929
Received Thanks: 471
Erst kam der Fehler
Quote:
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in C:\xampp\htdocs\compte.php on line 258
Dann als ich die Zeile löschte ^^:


Quote:
Parse error: syntax error, unexpected T_SWITCH, expecting ',' or ';' in C:\xampp\htdocs\compte.php on line 259
.Dêvile- is offline  
Reply


Similar Threads Similar Threads
EXP Table
02/22/2011 - Metin2 Private Server - 6 Replies
/* russian */ В моих файлах сервера нет файла game. У меня даже нет папки channel. Только есть папка channel1 (в файлах сервера предусм& #1086;тренно два канала). В туториа& #1083;е указан путь /channel1/share_data/game но такого нет ни в /share_data/ (там где locale и data) ни в channel1. Что мне делать и где искать этот файл? /* deutsch (translate by google) */ In meiner Datei-Server, keine Datei-Spiel. Ich habe nicht einmal einen Ordner Kanal. Aber es ist ein Ordner channel1 (Datei-Server...
[Problem]Table Account
10/16/2010 - EO PServer Hosting - 7 Replies
hey guys,my table account had a problem,when people register thier ID,the password did not display on table account..like this: http://i.imgur.com/0kPpN.jpg thats happen,so i hope u guys can help..thx
[Help]Problem with Account Table
09/06/2010 - EO PServer Hosting - 6 Replies
here seme picture of my account table problem link: http://imgur.com/hbXA4.jpg what should i do??
[ Wolfteam ] Injection via Import Table [ Problem ]
04/06/2009 - General Coding - 0 Replies
Hi, im currently trying to inject smth into Wolfteam, since it detects normal methods like a wrapper, rewriting the name in the hex file to a slightly different one or other ones i tried to use the import table of an loaded DLL, but whenever i edit it with LORD PE and add just once entry to it it will result in a programm crash. Now why i ask is because i know this method can work ( wolf lite uses it ). Some advices for me? ( The way i do it, 1. open dll with pe builder of Lord Pe 2. G to...



All times are GMT +1. The time now is 15:17.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.