[PHP] Error [PHP]

Gestart doorJoeryy2 reacties23 weergaven

3 berichten · pagina 1 van 1

Joeryy

Lid · Topicstarter

Berichten
1.533
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hallo iedereen.

Ik heb nu een webqie systeem en daar zit een pagina bij waar deze error op komt:
Spoiler tonen
Afbeelding
Met deze code:
Spoiler tonen
[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"config.php"[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/define"]define[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"TITLE"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"Profiel instellingen"[/COLOR][COLOR= #007700]);[/COLOR]

layoutboven[COLOR= #007700]();[/COLOR]

checklogin[COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div id="yellowerror" style="height: auto;"><h3>Profiel instellingen</h3>[/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]submit[/COLOR][COLOR= #007700]]) )
{[/COLOR]
    [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE leden
                SET overigkleur = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]overigkleur[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]",
                    statiskleur = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]statiskleur[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]",
                    infokleur = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]infokleur[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]",
                    vriendkleur = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vriendkleur[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]",
                WHERE naam = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
                    
    error[COLOR= #007700]([/COLOR][COLOR= #DD0000]green[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]Opgeslagen[/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][/COLOR][COLOR= #007700];[/COLOR]
    
    [COLOR= #0000BB]$uQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM leden WHERE naam = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]" "[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
    [COLOR= #0000BB]$uFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uQuery[/COLOR][COLOR= #007700]);[/COLOR]
?>
<script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "imagemanager"
});
</script>
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]
            <hr><img src="http://www.talk-it.nl/img/vcard_edit.png" border="0">
            <a href="http://www.talk-it.nl/profielinstellingen">Gegevens bewerken</a> 
            | <img src="http://www.talk-it.nl/img/image.png" border="0">
            <a href="http://www.talk-it.nl/profielfoto.php">Profiel foto</a> |
            <img src="http://www.talk-it.nl/img/layout_content.png" border="0">
            <a href="http://www.talk-it.nl/sstijlen">Standaard stijlen</a> |
            <img src="http://www.talk-it.nl/img/information.png" border="0">
            <a href="http://www.talk-it.nl/hoemaakikprofiel">Uitleg</a><br><br><form action="#" method="post" enctype="multipart/form-data"">
<tr><td>Profiel informatie kleur:<br /></td>
<td><script src="jscolor.js" type="text/javascript"></script>
<input type="text" value="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]infokleur[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" name="infokleur" class="color" autocomplete="off" style="background-color: rgb(158, 212, 222); color: rgb(0, 0, 0);"></td><br />
<tr><td>Statisstieken kleur:<br /></td>
<td><script src="jscolor.js" type="text/javascript"></script>
<input type="text" value="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]statiskleur[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" name="statiskleur" class="color" autocomplete="off" style="background-color: rgb(158, 212, 222); color: rgb(0, 0, 0);"></td><br />
<tr><td>Vrienden lijst kleur:<br /></td>
<td><script src="jscolor.js" type="text/javascript"></script>
<input type="text" value="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vriendkleur[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" name="vriendkleur" class="color" autocomplete="off" style="background-color: rgb(158, 212, 222); color: rgb(0, 0, 0);"></td><br />
<td><script src="jscolor.js" type="text/javascript"></script>
<tr><td>Overige kleuren:<br /></td>
<td><script src="jscolor.js" type="text/javascript"></script>
<input type="text" value="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]overigkleur[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" name="overigkleur" class="color" autocomplete="off" style="background-color: rgb(158, 212, 222); color: rgb(0, 0, 0);"></td><br />
<input type="submit" name="submit" value="Opslaan" />
</form><br />
<br />
[/COLOR][COLOR= #007700];
}
;[/COLOR]
?>

</div>

[COLOR= #0000BB]<?php[/COLOR] layoutonder[COLOR= #007700]();[/COLOR] ?>
Alvast bedankt als je oplossing hebt!
0
Marv

Lid

Berichten
3.092
Reputatie
1
Punten
0,21
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"config.php"[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/define"]define[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"TITLE"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"Profiel instellingen"[/COLOR][COLOR= #007700]);[/COLOR]

layoutboven[COLOR= #007700]();[/COLOR]

checklogin[COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div id="yellowerror" style="height: auto;"><h3>Profiel instellingen</h3>[/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]submit[/COLOR][COLOR= #007700]]) )
{[/COLOR]
    [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE leden
                SET overigkleur = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]overigkleur[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]",
                    statiskleur = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]statiskleur[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]",
                    infokleur = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]infokleur[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]",
                    vriendkleur = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vriendkleur[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]"
                WHERE naam = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
                    
    error[COLOR= #007700]([/COLOR][COLOR= #DD0000]green[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]Opgeslagen[/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][/COLOR][COLOR= #007700];[/COLOR]
    
    [COLOR= #0000BB]$uQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM leden WHERE naam = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]" "[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
    [COLOR= #0000BB]$uFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uQuery[/COLOR][COLOR= #007700]);[/COLOR]
?>
<script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "imagemanager"
});
</script>
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]
            <hr><img src="http://www.talk-it.nl/img/vcard_edit.png" border="0">
            <a href="http://www.talk-it.nl/profielinstellingen">Gegevens bewerken</a> 
            | <img src="http://www.talk-it.nl/img/image.png" border="0">
            <a href="http://www.talk-it.nl/profielfoto.php">Profiel foto</a> |
            <img src="http://www.talk-it.nl/img/layout_content.png" border="0">
            <a href="http://www.talk-it.nl/sstijlen">Standaard stijlen</a> |
            <img src="http://www.talk-it.nl/img/information.png" border="0">
            <a href="http://www.talk-it.nl/hoemaakikprofiel">Uitleg</a><br><br><form action="#" method="post" enctype="multipart/form-data"">
<tr><td>Profiel informatie kleur:<br /></td>
<td><script src="jscolor.js" type="text/javascript"></script>
<input type="text" value="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]infokleur[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" name="infokleur" class="color" autocomplete="off" style="background-color: rgb(158, 212, 222); color: rgb(0, 0, 0);"></td><br />
<tr><td>Statisstieken kleur:<br /></td>
<td><script src="jscolor.js" type="text/javascript"></script>
<input type="text" value="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]statiskleur[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" name="statiskleur" class="color" autocomplete="off" style="background-color: rgb(158, 212, 222); color: rgb(0, 0, 0);"></td><br />
<tr><td>Vrienden lijst kleur:<br /></td>
<td><script src="jscolor.js" type="text/javascript"></script>
<input type="text" value="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]vriendkleur[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" name="vriendkleur" class="color" autocomplete="off" style="background-color: rgb(158, 212, 222); color: rgb(0, 0, 0);"></td><br />
<td><script src="jscolor.js" type="text/javascript"></script>
<tr><td>Overige kleuren:<br /></td>
<td><script src="jscolor.js" type="text/javascript"></script>
<input type="text" value="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]overigkleur[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" name="overigkleur" class="color" autocomplete="off" style="background-color: rgb(158, 212, 222); color: rgb(0, 0, 0);"></td><br />
<input type="submit" name="submit" value="Opslaan" />
</form><br />
<br />
[/COLOR][COLOR= #007700];
}
;[/COLOR]
?>

</div>

[COLOR= #0000BB]<?php[/COLOR] layoutonder[COLOR= #007700]();[/COLOR] ?>
0
Joeryy

Lid · Topicstarter

Berichten
1.533
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Opgelost
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