Kleine Vragen Topic #1

Gestart doorLennard4.284 reacties15.585 weergaven

4.285 berichten · pagina 240 van 286

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Kjeld schreef:
Eerdere citaten tonen
Marvinguich schreef:
Eerdere citaten tonen
Aarclay schreef:
Ja, maar het is nu 30 januari, welke datum is het over een maand? Geen 30 februari...
Kijk maar eens op je kalender.

Het klopt dus wel degelijk.....

Dat is mijn bedoeling niet, ik wil dus 30 Febr.
You sir, made my day! biggrin
Bezoek dit topic normaal gesproken nooit, per toeval nu weer een keer, maar wat een bazenreactie emo
Hij had zelf niet door dat het een bazenreactie was. emo
0
Berichten
4.451
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Wat ik nu doe met http://www.iplaylist.nl met die youtube liedjes mag toch niet meer van BUMA/STEMRA? Is het dan verstandig om maar heel de site plat te halen?
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Bartv schreef:
Wat ik nu doe met http://www.iplaylist.nl met die youtube liedjes mag toch niet meer van BUMA/STEMRA? Is het dan verstandig om maar heel de site plat te halen?
Doet geen fluit hier, ik zie een leeg zwart kadertje als ik een liedje aan klik.
Je kan gewoon toch naar de Youtube-liedjes linken?

BUMA gaat overigens niet zomaar direct geld innen, ze zullen eerst waarschuwingen uit moeten delen. Wacht dat eerst af, voordat je meteen je site plat gooit. Maar goed, ik heb meer het idee dat ze de groteren aan zullen pakken en dat het nog wel een tijdje kan duren voordat je de spreekwoordelijke l*l bent.
0
Berichten
4.451
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Aarclay schreef:
Eerdere citaten tonen
Bartv schreef:
Wat ik nu doe met http://www.iplaylist.nl met die youtube liedjes mag toch niet meer van BUMA/STEMRA? Is het dan verstandig om maar heel de site plat te halen?
Doet geen fluit hier, ik zie een leeg zwart kadertje als ik een liedje aan klik.
Je kan gewoon toch naar de Youtube-liedjes linken?

BUMA gaat overigens niet zomaar direct geld innen, ze zullen eerst waarschuwingen uit moeten delen. Wacht dat eerst af, voordat je meteen je site plat gooit. Maar goed, ik heb meer het idee dat ze de groteren aan zullen pakken en dat het nog wel een tijdje kan duren voordat je de spreekwoordelijke l*l bent.
Heb je adblocker? dan doet hij het idd niet

En naar een youtube liedje kan ik wel linken, maar dan schakelt hij over naar youtube en dat vind ik zelf niet heel mooi
0
Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik wil dingen ophalen uit mijn database,
wat was die code om dingen neer te zetten, weet niet precies hoe ik het moet uitleggen
dus bijv .$town[lol].
zoiets ik weet niet meer precies wat het was
0
Berichten
3.112
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
$query = mysql_query("SELECT iets FROM tabel WHERE iets = iets");
$fetch = mysql_fetch_assoc($query);
echo $fetch[iets];
0
Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Perryz schreef:
$query = mysql_query("SELECT iets FROM tabel WHERE iets = iets");
$fetch = mysql_fetch_assoc($query);
echo $fetch[iets];
ty man

toevoeging op 30 januari 2013, 18:04:04:

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]mysql.hosting4all.tk[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]u535444932[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]*********[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Could not connect to mysql server.[/COLOR] [COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]site[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Could not select database.[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$towns[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM towns"[/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]$town[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$towns[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$town[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]iets[/COLOR][COLOR= #007700]];[/COLOR]

?>


Fatal error: Call to undefined function phpmysql_connect() in /home/u535444932/public_html/index.php on line 1

howww
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Ik zie gewoon mysql_connect() staan en geen phpmysql_connect(). Copy-paste foutje ergens?
0
Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Aarclay schreef:
Ik zie gewoon mysql_connect() staan en geen phpmysql_connect(). Copy-paste foutje ergens?
Waardan?

toevoeging op 30 januari 2013, 181648:
ik heb nu dit:

[COLOR= #0000BB]<?php

$_mysql_pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"*****"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"u535444932"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_host[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"mysql.hosting4all.tk"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_titl[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"site"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$_mysql_verbinding[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_mysql_host[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_naam[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_pass[/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= #DD0000]"Kan geen verbinding maken!"[/COLOR][COLOR= #007700]));[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_mysql_titl[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_verbinding[/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= #DD0000]"Kan de database niet vinden!"[/COLOR][COLOR= #007700]));[/COLOR]


[COLOR= #0000BB]$towns[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM towns"[/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]$town[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$towns[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$town[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]iets[/COLOR][COLOR= #007700]];[/COLOR]

?>


nu zegt hij dit:
Parse error: syntax error, unexpected T_VARIABLE in /home/u535444932/public_html/index.php on line 1
0
Berichten
7.806
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jespar schreef:
Eerdere citaten tonen
Aarclay schreef:
Ik zie gewoon mysql_connect() staan en geen phpmysql_connect(). Copy-paste foutje ergens?
Waardan?

toevoeging op 30 januari 2013, 181648:
ik heb nu dit:

[COLOR= #0000BB]<?php

$_mysql_pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"*****"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"u535444932"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_host[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"mysql.hosting4all.tk"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_titl[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"site"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$_mysql_verbinding[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_mysql_host[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_naam[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_pass[/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= #DD0000]"Kan geen verbinding maken!"[/COLOR][COLOR= #007700]));[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_mysql_titl[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_verbinding[/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= #DD0000]"Kan de database niet vinden!"[/COLOR][COLOR= #007700]));[/COLOR]


[COLOR= #0000BB]$towns[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM towns"[/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]$town[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$towns[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$town[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]iets[/COLOR][COLOR= #007700]];[/COLOR]

?>


nu zegt hij dit:
Parse error: syntax error, unexpected T_VARIABLE in /home/u535444932/public_html/index.php on line 1
0
Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Bjarnootjuh schreef:
Eerdere citaten tonen
Jespar schreef:
Eerdere citaten tonen
Aarclay schreef:
Ik zie gewoon mysql_connect() staan en geen phpmysql_connect(). Copy-paste foutje ergens?
Waardan?

toevoeging op 30 januari 2013, 181648:
ik heb nu dit:

[COLOR= #0000BB]<?php

$_mysql_pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"*****"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"u535444932"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_host[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"mysql.hosting4all.tk"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$_mysql_titl[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"site"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$_mysql_verbinding[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_mysql_host[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_naam[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_pass[/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= #DD0000]"Kan geen verbinding maken!"[/COLOR][COLOR= #007700]));[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_mysql_titl[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_mysql_verbinding[/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= #DD0000]"Kan de database niet vinden!"[/COLOR][COLOR= #007700]));[/COLOR]


[COLOR= #0000BB]$towns[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM towns"[/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]$town[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$towns[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$town[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]iets[/COLOR][COLOR= #007700]];[/COLOR]

?>


nu zegt hij dit:
Parse error: syntax error, unexpected T_VARIABLE in /home/u535444932/public_html/index.php on line 1
wat heb je gedaan veranderd ofzo wat hij werkt nog steeds niet...
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Kan je uberhaupt PHP zelf wel?
0
Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raaoul schreef:
Kan je uberhaupt PHP zelf wel?
kunnen jij nederlands wel?
Heeft niets met mijn vraag te maken toch?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Jespar schreef:
Eerdere citaten tonen
Raaoul schreef:
Kan je uberhaupt PHP zelf wel?
kunnen jij nederlands wel?
Heeft niets met mijn vraag te maken toch?
Je stelt een domme vraag die je door middel van Google allang zou opgelost hebben.

Als je een hele table select zal er een array returnen, door die array moet je dan loopen met foreach.
0
Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Oke tis opgelost alleen nog een klein probleempje:

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"mysql.hosting4all.tk"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"u535444932_site"[/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/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"u535444932_site"[/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]$towns[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM towns ORDER BY id "[/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]$town[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$towns[/COLOR][COLOR= #007700]));[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$town[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]townnaam[/COLOR][COLOR= #007700]];[/COLOR]

?>


Pagina blijft wit er staat wat in de database maar niks komt
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