PHP help me

Gestart doorJesper177 reacties875 weergaven

178 berichten · pagina 3 van 12

Berichten
10.409
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jespar schreef:
Eerdere citaten tonen
Jespar schreef:
Laatmaar ik stop wel met php
Slotje
Zeer slecht van je, walgelijk. Iemand probeert jouw als ( 12emo ) jarig kind te helpen, en jij doet een beetje arrogant. pukey
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Volgensmij weten ze niet eens dat ik 12 ben emo
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik snap werkelijk niet waarom er zo moeilijk gedaan wordt, wat is er mis met een voorbeeldje posten? Er worden zo vaak voorgekauwde codes neergegooid hier en nu zitten jullie ineens te zeiken dat hij een tutorial moet volgen. Door voorbeeldjes te bekijken leer je ook... zeg dan gewoon dat je er geen zin in heb om te helpen.
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Van voorbeelden leer je niet echt veel. Theorie is ook van belang, en niet alleen praktijk.
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik ga naar praktijk onderwijs maargoed
Afbeelding
0
Berichten
9.953
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kingunit schreef:
Eerdere citaten tonen
Jespar schreef:
Eerdere citaten tonen
Jespar schreef:
Laatmaar ik stop wel met php
Slotje
Zeer slecht van je, walgelijk. Iemand probeert jouw als ( 12emo ) jarig kind te helpen, en jij doet een beetje arrogant. pukey
Wat maakt leeftijd uit? Ik ben ook 12 hoor.
Maar goed, terug naar het onderwerp.
En Jesper is volgensmij 11. Niet 12.

toevoeging op 26 januari 2012, 211259:
Of hij is net jarig geweest, kan ook.
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
net jarig geweest 19 januari
Afbeelding
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Vervang $_GET[member_id] door $_SESSION[id] in geval dat je whear systeem gebruikt, wat ik denk. Dan zie je alleen diegene van jezelf

toevoeging op 26 januari 2012, 211713:
Misschien ook while erop?

while () {

}
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Parse error: syntax error, unexpected T_WHILE in /home/uploaden/domains/manxi.nl/public_html/controlpanel/pages/pages.php on line 4

[COLOR= #0000BB]<?php

$uQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM overzicht WHERE id = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[COLOR= #0000BB]$uFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uQuery[/COLOR][COLOR= #007700]));

{[/COLOR]
?>

<h2>Domeinen</h2><br>
[COLOR= #0000BB]<?php[/COLOR]  [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]domein[/COLOR][COLOR= #007700]];[/COLOR] ?>
<h2>Hostings</h2><br>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]];[/COLOR] ?>
<h2>Vpsen</h2><br>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vps[/COLOR][COLOR= #007700]];[/COLOR]  ?>

[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
0
Berichten
5.897
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Je roept de while niet goed aan wink
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja opgelost maar nu zie ik mijn eigen domein hosting en vps niet terwijl er wel wat in staat van mijn id

toevoeging op 26 januari 2012, 21:21:44:

[COLOR= #0000BB]<?php

$uQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM overzicht WHERE id = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uQuery[/COLOR][COLOR= #007700]));

{[/COLOR]
?>

<h2>Domeinen</h2><br>
[COLOR= #0000BB]<?php[/COLOR]  [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]domein[/COLOR][COLOR= #007700]];[/COLOR] ?>
<h2>Hostings</h2><br>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]];[/COLOR] ?>
<h2>Vpsen</h2><br>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vps[/COLOR][COLOR= #007700]];[/COLOR]  ?>

[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Waarom een while als je een enkel ID gebruikt?
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
$result[/COLOR][COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT domein, host vps FROM overzicht WHERE id = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]) {[/COLOR]
 [COLOR= #0000BB]$uFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]);[/COLOR]
 [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<h2>Domeinen</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]domein[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]
 <h2>Hostings</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]
 <h2>Vpsen</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vps[/COLOR][COLOR= #007700]][/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Er is een fout opgetreden bij ons: "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]();
}[/COLOR]
?>


Parse error: syntax error, unexpected ; in /home/uploaden/domains/manxi.nl/public_html/controlpanel/pages/pages.php on line 2

toevoeging op 26 januari 2012, 21:26:07:
Laatmaar
0
Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
$result[/COLOR][COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT domein, host vps FROM overzicht WHERE id = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]) {[/COLOR]
 [COLOR= #0000BB]$uFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]);[/COLOR]
 [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<h2>Domeinen</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]domein[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]
 <h2>Hostings</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]
 <h2>Vpsen</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vps[/COLOR][COLOR= #007700]][/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Er is een fout opgetreden bij ons: "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]();
}[/COLOR]
?>
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]
 [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<h2>Domeinen</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]domein[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]
 <h2>Hostings</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]
 <h2>Vpsen</h2>
 [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vps[/COLOR][COLOR= #007700]];[/COLOR]
?>
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren