Forms verder af gaan, op 1 pagina

Gestart doorSanderc16 reacties24 weergaven

17 berichten · pagina 1 van 2

Sanderc

Lid · Topicstarter

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hallo,

Ik heb dus iets met;

invullen => button => volgend invullen => uitvoeren

Het is een beetje moeilijk om het te verwoorden, maar hij voert de
elseif (isset($_POST[verander_naam]))

Niet uit.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require_once"]require_once[/URL] [COLOR= #DD0000]../config.php[/COLOR][COLOR= #007700];[/COLOR]


    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user_aanpas[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wat_aanpas[/COLOR][COLOR= #007700]]))
    {[/COLOR]
        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wat_aanpas[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"username"[/COLOR][COLOR= #007700])
        {[/COLOR]
            [COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT username FROM leden WHERE username = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user_aanpas[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
            [COLOR= #0000BB]$show[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$show_it[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700]);[/COLOR]
            
            [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]Naam op dit moment:<b>[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show_it[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]</b>[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]<form action="#" method="post">
                        <input type="text" name="verander_naam">
                        <input type="submit" value="Verander naam">
                    </form>
                    [/COLOR][COLOR= #007700];
        }[/COLOR]
            
        [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verander_naam[/COLOR][COLOR= #007700]]))
        {[/COLOR]
            [COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR][COLOR= #DD0000]"
                UPDATE 
                    werknemers 
                SET 
                    username = "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/trim"]trim[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verander_naam[/COLOR][COLOR= #007700]])).[/COLOR][COLOR= #DD0000]"
                WHERE 
                    voornaam = "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/trim"]trim[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user_aanpas[/COLOR][COLOR= #007700]])).[/COLOR][COLOR= #DD0000]" 
            "[/COLOR][COLOR= #007700];[/COLOR]
                    
                [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][COLOR= #0000BB]$res[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700])) 
                {[/COLOR] 
                    [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= #DD0000]<br />In query: [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]); 
                }[/COLOR] 
                [URL="http://www.php.net/elseif"]elseif[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_affected_rows"]mysql_affected_rows[/URL][COLOR= #007700]() ==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) 
                {[/COLOR] 
                    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Geen records gewijzigd. <br />Query: [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sql[/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]Update was succesvol![/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] Geen andere functies mogelijk als username aanpassen[/COLOR][COLOR= #007700];
        }
    }[/COLOR]
    [URL="http://www.php.net/else"]else[/URL]
    [COLOR= #007700]{[/COLOR]

?>
<form action="#" method="post">
    Welke user wil je aanpassen?<input type="text" name="user_aanpas"><br/>
    Wat wil je aanpassen?
    <select name="wat_aanpas">
        <option value="username">username</option>
    </select>
    <input type="submit" value="Verder">
</form>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>


Dus eerst vraag ik van welk lid de beheerder iets wilt aanpassen, en dan wat hij wilt aanpassen.

Dan na de keuze, komt de form. Als je dan de form hebt ingevuld, van naar welke gebruikersnaam je het wilt veranderen, springt hij direct terug naar het ding van wie wil je aanpassen etc.

Als je het wilt zien;

http://sander.freux.nl/

Login:

Sander
test


(hooflettergevoelig)

=> Klik op de link (Beheerders-Paneel)
=> Klik op de link (Lid aanpassen)
Daar zie je het

Ik hoop dat ik het goed uitlegde en dat iemand mij kan helpen? Bedankt biggrin
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Als ik zeg sql_injection, en post-it, snap je dan de hint wink
0
Sanderc

Lid · Topicstarter

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
sql_injection snap ik, maar daar kan het toch niet aan liggen?

En post-it begrijp ik niet...

En als ik het google kom ik op plakbriefjes emo
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Sanderc schreef:
sql_injection snap ik, maar daar kan het toch niet aan liggen?
En post-it begrijp ik niet...

En als ik het google kom ik op plakbriefjes emo
Jep, pak een dikke zwarte marker, en zet op het briefje: LET OP: SQL INJECTION. Hang die aan je monitor, en kijk er steeds naar tijdens programmeren. Zo blijf je consequent bezig, en vergeet je het niet wink
Ondanks het niet het antwoord op je probleem is, meld ik dit wel, want het gebeurt gewoon te vaak dat het vergeten wordt.
0
Sanderc

Lid · Topicstarter

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Oke, dat heb ik gedaan nu, maar het werkt nog steeds niet als ik rond de post een mysql_real_escape_string en een trim zet (trim voor de spaties)
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Persoonlijk zou ik eerder voor GET gaan, als je een item wilt aanpassen...
0
Sanderc

Lid · Topicstarter

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Aarclay schreef:
Persoonlijk zou ik eerder voor GET gaan, als je een item wilt aanpassen...
Is dat de fout?

En is het makkelijker werken of is het gewoon fout als je met POST werkt?
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Het is niet fout om met POST te werken, maar het maakt de boel wel complexer, als je met meerdere POST-aanvragen zit. met GET werkt het gewoon makkelijker. Ook als je terug gaat in je browse-geschiedenis

Bij POSTs krijg je een irritante melding...

Thats my opinion... smile
0
Sanderc

Lid · Topicstarter

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Maar is dat de fout in dit script?
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
^^^smile
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Even wat verduidelijking hoe je het dus beter doet:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]])) {[/COLOR]
[COLOR= #0000BB]$gebruikerbestaat[/COLOR] [COLOR= #007700]=[/COLOR] false[COLOR= #007700];[/COLOR] [COLOR= #FF8000]// BESTAAT DE GEBRUIKER?[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$gebruikerbestaat[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REQUEST_METHOD[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]POST[/COLOR][COLOR= #007700]) {[/COLOR]
[COLOR= #FF8000]// WIJZIGINGEN OPSLAAN[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
<form action="" method="post">
<table style="width: 100%;">
<tbody>
<tr>
<td style="font-weight: bold;">Gebruikersnaam</td>
<td><input name="username" maxlength="100" value="Gebruiker1" /></td>
</tr>
<tr>
<td style="font-weight: bold;">Rang</td>
<td><input name="rank" maxlength="100" value="Lid" /></td>
</tr>
</tbody>
</table>
</form>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
?>
<form action="" method="get">
<select name="id">
<input value="1">Gebruiker1</input>
<input value="2">Gebruiker2</input>
<input value="3">Gebruiker3</input>
</select>
[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?>
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
spring je code dan wel goed in hè, als je het goed wilt doen clown
0
Sanderc

Lid · Topicstarter

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb heel de tijd zitten proberen, ik heb heel de code zitten herschrijven door te werken met GET...

Maar dan werkt het nog minder, en zit het slecht in elkaar, niet goed beveiligd etc.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require_once"]require_once[/URL] [COLOR= #DD0000]../config.php[/COLOR][COLOR= #007700];[/COLOR]

[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verzend_wa[/COLOR][COLOR= #007700]]))
{[/COLOR]
    [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Location: htpp://www.sander.freux.nl/pannel/lid_aanpassen.php?user=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]&wat=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wat[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000][/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] <form method="post" action="#">
            User:<input type="text" name="user">
            <select name="wat">
                <option value="username">username</option>
            </select>
            <input type="submit" name="verzend_wa" value="verder">[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wat[/COLOR][COLOR= #007700]]))
{[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]Sander[/COLOR][COLOR= #007700])
    {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000] Niet proberen...[/COLOR][COLOR= #007700];
    }[/COLOR]
    [URL="http://www.php.net/elseif"]elseif[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wat[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]username[/COLOR][COLOR= #007700])
    {[/COLOR]
        [COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT username FROM leden WHERE username = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$show[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
        [COLOR= #0000BB]$show_it[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700]);[/COLOR]
                    
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]Naam op dit moment:<b>[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show_it[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]</b>[/COLOR][COLOR= #007700];[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]<form action="#" method="post">
                    <input type="text" name="naam" value="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show_it[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" onlyread><br/>
                        <input type="text" name="verander_naam"><br/>
                        <input type="submit" name="verander" value="Verander naam">
                    </form>
                    [/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]Nog geen get[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verander[/COLOR][COLOR= #007700]]))
{[/COLOR]
    [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Location: htpp://www.sander.freux.nl/pannel/lid_aanpassen.php?name=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]&verander_naar=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verander_naam[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000][/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] post is nog niet gezet[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verander_naar[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]name[/COLOR][COLOR= #007700]]))
{[/COLOR]
    [COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR][COLOR= #DD0000]"
                UPDATE 
                    leden
                SET 
                    userame = "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/trim"]trim[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verander_naar[/COLOR][COLOR= #007700]])).[/COLOR][COLOR= #DD0000]"
                WHERE 
                    username = "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/trim"]trim[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]name[/COLOR][COLOR= #007700]])).[/COLOR][COLOR= #DD0000]" 
            "[/COLOR][COLOR= #007700];[/COLOR]
                    
                [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][COLOR= #0000BB]$res[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700])) 
                {[/COLOR] 
                    [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= #DD0000]<br />In query: [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]); 
                }[/COLOR] 
                [URL="http://www.php.net/elseif"]elseif[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_affected_rows"]mysql_affected_rows[/URL][COLOR= #007700]() ==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) 
                {[/COLOR] 
                    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Geen records gewijzigd. <br />Query: [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sql[/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]Update was succesvol![/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] Andere get staat ngo niet[/COLOR][COLOR= #007700];
}[/COLOR]


Kan iemand mij goed helpen uitleggen hoe ik het dan wel goed doe etc en wat er fout is etc. Bedankt
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Wat werkt er volgens jouw niet goed dan?
0
Sanderc

Lid · Topicstarter

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja, nu reset het zich gewoon helemaal.

Maar dat is door heel de klungelboel met als die gezet is, dan dat en anders dat en dan omdat die gezet is dat.

Dat overlapt elkaar en daardoor gaat het een beetje mislopen.
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