Hallo,
Op EigenDealer wil ik een extra pagina toevoegen. Dat is nu aardig gelukt. Ik heb nu dit: http://www.eigendealer.com/TurboKliks/pagina1.dg
Maar ik wil dat de titel (prijzen) een h1 tag krijgt. Maar nu krijg ik steeds fouten in de code. Weet iemand hoe ik dat kan veranderen?
Hier de code:
Op EigenDealer wil ik een extra pagina toevoegen. Dat is nu aardig gelukt. Ik heb nu dit: http://www.eigendealer.com/TurboKliks/pagina1.dg
Maar ik wil dat de titel (prijzen) een h1 tag krijgt. Maar nu krijg ik steeds fouten in de code. Weet iemand hoe ik dat kan veranderen?
Hier de code:
[COLOR= #0000BB]<?php[/COLOR]
opendiv[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT titel1 FROM dealer WHERE naam = $game"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/trigger_error"]trigger_error[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[COLOR= #0000BB]$fetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000][/COLOR][COLOR= #007700].[/COLOR] [URL="http://www.php.net/nl2br"]nl2br[/URL][COLOR= #007700]([/COLOR]htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$fetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel1[/COLOR][COLOR= #007700]],[/COLOR] ENT_QUOTES[COLOR= #007700])) .[/COLOR][COLOR= #DD0000][/COLOR][COLOR= #007700];[/COLOR]
?>
<br>
[COLOR= #0000BB]<?
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT pagina1 FROM dealer WHERE naam = $game"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/trigger_error"]trigger_error[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[COLOR= #0000BB]$fetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000][/COLOR][COLOR= #007700].[/COLOR] [URL="http://www.php.net/nl2br"]nl2br[/URL][COLOR= #007700]([/COLOR]htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$fetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pagina1[/COLOR][COLOR= #007700]],[/COLOR] ENT_QUOTES[COLOR= #007700])) .[/COLOR][COLOR= #DD0000][/COLOR][COLOR= #007700];[/COLOR]
closediv[COLOR= #007700]();[/COLOR]
?> 