error

Gestart doorGoldspray11 reacties67 weergaven

12 berichten · pagina 1 van 1

Goldspray

Lid · Topicstarter

Berichten
178
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
$num = Rand (1,3);
switch ($num)
{
case 1:
echo "Afbeelding;
break;
case 2:
echo "Je wachtwoord is geen boter, smeer hem dus niet zomaar ergens uit!";
break;
case 3:
echo "Je wachtwoord is net als je pincode, gebruik hem alleen waarvoor hij echt bedoeld is!";
}
?>

hij geeft error aan, http://habbozilla.nl/layout/banners.php
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
wat is dan de error yummie
0
Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?
$num[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/Rand"]Rand[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]3[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/switch"]switch[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$num[/COLOR][COLOR= #007700])
{
case[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<img border="[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #DD0000]" src="[/COLOR]http[COLOR= #007700]:[/COLOR][COLOR= #FF8000]//habbozilla.nl/images/banners/habbo_1.PNG" width="620" height="122">";[/COLOR]
[URL="http://www.php.net/break"]break[/URL][COLOR= #007700];
case[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je wachtwoord is geen boter, smeer hem dus niet zomaar ergens uit!"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/break"]break[/URL][COLOR= #007700];
case[/COLOR] [COLOR= #0000BB]3[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je wachtwoord is net als je pincode, gebruik hem alleen waarvoor hij echt bedoeld is!"[/COLOR][COLOR= #007700];
}[/COLOR]
?>


je was een " vergeten

want je starte je echo wel met " maar eindigde er niet mee
0
Goldspray

Lid · Topicstarter

Berichten
178
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Daiman schreef:
[COLOR= #0000BB]<?
$num[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/Rand"]Rand[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]3[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/switch"]switch[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$num[/COLOR][COLOR= #007700])
{
case[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<img border="[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #DD0000]" src="[/COLOR]http[COLOR= #007700]:[/COLOR][COLOR= #FF8000]//habbozilla.nl/images/banners/habbo_1.PNG" width="620" height="122">";[/COLOR]
[URL="http://www.php.net/break"]break[/URL][COLOR= #007700];
case[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je wachtwoord is geen boter, smeer hem dus niet zomaar ergens uit!"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/break"]break[/URL][COLOR= #007700];
case[/COLOR] [COLOR= #0000BB]3[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je wachtwoord is net als je pincode, gebruik hem alleen waarvoor hij echt bedoeld is!"[/COLOR][COLOR= #007700];
}[/COLOR]
?>
je was een " vergeten

want je starte je echo wel met " maar eindigde er niet mee

hihi dankjebiggrin
0
Berichten
2.517
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
$num = Rand (1,3);
switch ($num)
{
case 1:
echo"$image";
break;
case 2:
echo "Je wachtwoord is geen boter, smeer hem dus niet zomaar ergens uit!";
break;
case 3:
echo "Je wachtwoord is net als je pincode, gebruik hem alleen waarvoor hij echt bedoeld is!";
}
$image = "http://habbozilla.nl/images/banners/habbo_1.PNG";
?>

doe dat eens

edit:bovenste was voor
0
Goldspray

Lid · Topicstarter

Berichten
178
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
$num = Rand (1,3);
switch ($num)
{
case 1:
echo"$image";
break;
case 2:
echo "$image1";
break;
case 3:
echo "$image2";
}
$image = "http://habbozilla.nl/images/banners/habbo_1.PNG";
$image1 = "http://habbozilla.nl/images/banners/habbo_2.PNG";
$image2 = "http://habbozilla.nl/images/banners/habbo_3.PNG";
?>

doet het nog niet
0
Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
je meot hem we echoën als img
0
Berichten
2.517
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
echo ("$image");
echo ("$image1");
echo ("$image2");
?>
$image = "http://habbozilla.nl/images/banners/habbo_1.PNG";
$image1 = "http://habbozilla.nl/images/banners/habbo_2.PNG";
$image2 = "http://habbozilla.nl/images/banners/habbo_3.PNG";
?>
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
de " weg halen bij een STRING
0
Goldspray

Lid · Topicstarter

Berichten
178
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
snap het niet? kan jij voor me doen plz?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
$text[/COLOR] [COLOR= #007700]=[/COLOR]
[URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
[COLOR= #DD0000]"<img border=0 src=http://habbozilla.nl/images/banners/habbo_1.PNG width=620 height=122>"[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]"<img border=0 src=http://habbozilla.nl/images/banners/habbo_2.PNG width=620 height=122>"[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]"<img border=0 src=http://habbozilla.nl/images/banners/habbo_3.PNG width=620 height=122>"[/COLOR]
[COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$random[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]2[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$random[/COLOR][COLOR= #007700]];[/COLOR]
?>
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
$text[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
    [COLOR= #DD0000]<img border="0" src="http://habbozilla.nl/images/banners/habbo_1.PNG" width="620" height="122" />[/COLOR][COLOR= #007700],[/COLOR]
    [COLOR= #DD0000]<img border="0" src="http://habbozilla.nl/images/banners/habbo_2.PNG" width="620" height="122" />[/COLOR][COLOR= #007700],[/COLOR]
    [COLOR= #DD0000]<img border="0" src="http://habbozilla.nl/images/banners/habbo_3.PNG" width="620" height="122" />[/COLOR]
[COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700][[/COLOR][URL="http://www.php.net/array_rand"]array_rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$text[/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