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?
dat je gewoon de links in het script zet?
Jordymen schreef:dat je gewoon de links in het script zet?je kan hem ook zonder database connect maken dus gewoon zonder database toch? html maar hoe werkt dat?
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]
?>
voor de goeie hulpJordymen schreef:bedanktEerdere 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] ?>
voor de goeie hulpJordymen schreef:ga je gangik moet in het script mysql_connect invoegen
jij hebt het ook moeten leren?[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]
?> 
Jordymen schreef:Ne,e we laten jouw niet.laat mijjij hebt het ook moeten leren?
Ik word hier moedeloos van....Aarclay schreef:AgreeNe,e we laten jouw niet.Eerdere citaten tonen
Jordymen schreef:laat mijjij hebt het ook moeten leren?
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
