linkpartner script

Gestart doorJordymen32 reacties117 weergaven

33 berichten · pagina 2 van 3

Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
je kan hem ook zonder database connect maken dus gewoon zonder database toch? html maar hoe werkt dat?

dat je gewoon de links in het script zet?
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Jordymen schreef:
je kan hem ook zonder database connect maken dus gewoon zonder database toch? html maar hoe werkt dat?
dat je gewoon de links in het script zet?

Jongen, ga PHP leren. Of begin liever eerst aan HTML.
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Aarclay schreef:
of iemand anders....?
[COLOR= #0000BB]<?php
$sTitle[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Linkpartners[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]bbottom.php[/COLOR][COLOR= #007700];[/COLOR]
?>

                <!-- Welcome -->
                <div class="block margin">
                    <h3><span class="left"></span>Linkpartners</h3>
                    <div class="padding-x">
?>

[COLOR= #0000BB]<?php
$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT url, naam FROM linkpartners"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]) {[/COLOR]
  [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$link[/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]
?>
<a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$link[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]];[/COLOR] ?>">[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$link[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]];[/COLOR] ?></a><br />

[COLOR= #0000BB]<?php[/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: "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]();
}[/COLOR]
?>


bedanktbiggrin voor de goeie hulp
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Jordymen schreef:
Eerdere citaten tonen
Aarclay schreef:
of iemand anders....?
[COLOR= #0000BB]<?php
$sTitle[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Linkpartners[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]bbottom.php[/COLOR][COLOR= #007700];[/COLOR]
?>

                <!-- Welcome -->
                <div class="block margin">
                    <h3><span class="left"></span>Linkpartners</h3>
                    <div class="padding-x">
?>

[COLOR= #0000BB]<?php
$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT url, naam FROM linkpartners"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]) {[/COLOR]
  [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$link[/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]
?>
<a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$link[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]];[/COLOR] ?>">[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$link[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]];[/COLOR] ?></a><br />

[COLOR= #0000BB]<?php[/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: "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]();
}[/COLOR]
?>

bedanktbiggrin voor de goeie hulp

Graag gedaan, dit is echt het allerlaatste wat ik voor jouw uittyp. En waarom... Omdat jij te BEROERD bent om onze adviezen op te volgen, waaronder het leren van PHP.

Ik hoop van harte dat jij je nu je kei- en keihard zal gaan schamen.
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
heb nog een fout hoor?

mysql_connect moet er nog in toch?

> Waarschuwing : mysql_query (): Access denied for Boriss user @ localhost (using password: NO) in / home / Boriss / domains / websoccermanager.nl / public_html / linkpartners.php on line 13 Warning : mysql_query () : Een link naar de server kon niet worden vastgesteld in / home / Boriss / domains / websoccermanager.nl / public_html / linkpartners.php on line 13 Er is an fout opgetreden: Access denied for Boriss user @ localhost (using password : NO)
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja, maar dat kun je zelf ook
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Wat heb je al geprobeerd? Wat heb je al gegoogled?
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ik moet in het script mysql_connect invoegen
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Jordymen schreef:
ik moet in het script mysql_connect invoegen
ga je gang
0
Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Misschien is het beter als je stopt met PHP.
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
laat mijwink jij hebt het ook moeten leren?

toevoeging op 30 december 2012, 22:31:26:

[COLOR= #0000BB]<?php
$sTitle[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Linkpartners[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]bbottom.php[/COLOR][COLOR= #007700];[/COLOR]
?>

                <!-- Welcome -->
                <div class="block margin">
                    <h3><span class="left"></span>Linkpartners</h3>
                    <div class="padding-x">
?>

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL]
[COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT url, naam FROM linkpartners"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]) {[/COLOR]
  [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$link[/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]
?>
<a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$link[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]];[/COLOR] ?>">[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$link[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]];[/COLOR] ?></a><br />

[COLOR= #0000BB]<?php[/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: "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]();
}[/COLOR]
?>


fout Parse error : syntax error, unexpected resultaat (T_STRING) in / home / Boriss / domains / websoccermanager.nl / public_html / linkpartners.php on line 14
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Google mysql_connect eensemo
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Jordymen schreef:
laat mijwink jij hebt het ook moeten leren?
Ne,e we laten jouw niet.

Jij MISBRUIKT one2xs met JOUW PROBLEMEN.
WE zijn GEEN HELPDESK!! We ZIEN NIKS van jouw INZET! Dus ALLES DOEN WIJ VOOR JOUW, iets wat NIET hoort.

G*dv*r*de*k*t zeg sadleyIk word hier moedeloos van....
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Aarclay schreef:
Eerdere citaten tonen
Jordymen schreef:
laat mijwink jij hebt het ook moeten leren?
Ne,e we laten jouw niet.

Jij MISBRUIKT one2xs met JOUW PROBLEMEN.
WE zijn GEEN HELPDESK!! We ZIEN NIKS van jouw INZET! Dus ALLES DOEN WIJ VOOR JOUW, iets wat NIET hoort.

G*dv*r*de*k*t zeg sadley
Agree

Je bloed drukemo
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Lennart. mag dit topic dicht? Dit leidt nergens naar toe.
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