Je moet ingelogd zijn om te stemmen.
<?php if($_POST[submit]) include ("../../Connections/connect.php"); { $the_link = htmlentities($_POST['Newlink']); $qinvoegen = "UPDATE ATblUsers SET Image='$the_link' WHERE Username='$_SESSION[username]'"; mysql_query($qinvoegen) or die(mysql_error()); echo "profile info changed. Redirecting..."; echo "<meta http-equiv=\"refresh\" content=\"3; url=../../profile.php\" />"; } else { ?> // hierna het formulier <?php } ?> // afsluiten
<?php if($_POST[submit]) include ("../../Connections/connect.php"); { $the_link = htmlentities($_POST['Newlink']); $qinvoegen = "UPDATE ATblUsers SET Image='$the_link' WHERE Username='$_SESSION[username]'"; mysql_query($qinvoegen) or die(mysql_error()); echo "profile info changed. Redirecting..."; echo "<meta http-equiv=\"refresh\" content=\"3; url=../../profile.php\" />"; } else { ?> // hierna het formulier<?php } ?> // afsluiten
# <?php include ("../../Connections/connect.php");//zet dit eens boven je if-statement if($_POST[submit])?>
#<?phpinclude ("../../Connections/connect.php");//zet dit eens boven je if-statementif($_POST[submit])?>
if($_POST[submit]) include ("../../Connections/connect.php"); {
if($_POST[submit])include ("../../Connections/connect.php");{
<?php if($_POST[submit]) { include ("../../Connections/connect.php"); $the_link = htmlentities($_POST['Newlink']); $qinvoegen = "UPDATE ATblUsers SET Image='$the_link' WHERE Username='$_SESSION[username]'"; mysql_query($qinvoegen) or die(mysql_error()); echo "profile info changed. Redirecting..."; echo "<meta http-equiv=\"refresh\" content=\"3; url=../../profile.php\" />"; } else { ?> // hierna het formulier <?php } ?> // afsluiten
<?php if($_POST[submit]) { include ("../../Connections/connect.php"); $the_link = htmlentities($_POST['Newlink']); $qinvoegen = "UPDATE ATblUsers SET Image='$the_link' WHERE Username='$_SESSION[username]'"; mysql_query($qinvoegen) or die(mysql_error()); echo "profile info changed. Redirecting..."; echo "<meta http-equiv=\"refresh\" content=\"3; url=../../profile.php\" />"; } else { ?> // hierna het formulier<?php } ?> // afsluiten