Nieuw lid |
|
Beste,
Ik heb een mooi msn invite script, die ik in mijn website geboywd heb.
Nu heb ik echter wel een klein probleem bij het versturen...
Het inloggen en ophalen van de adressen gaat perfect.
Zodra ik wil gaan versturen komt hij weer terug bij het begin zonder iets te versturen of te laten zien.
Iemand eenige idee hoe dit kan ?
echo '<form method="post" action="" name="MSN" id="MSN">';
echo '<br />';
foreach( $MSN -> Contacts AS $Mail )
{
if ( ! mysql_result( mysql_query( "SELECT COUNT( 1 ) FROM `msnblocked` WHERE `email` = '" . $Mail . "'" ), 0 ) > 0 )
{
$sMember = mysql_query( "SELECT COUNT( 1 ) FROM `users` WHERE `email` = '" . $Mail . "'" );
if ( mysql_result( $sMember, 0 ) > 0 ) {
echo '<input type="checkbox" name="checkbox[]" value="' . $Mail . '" disabled="disabled" />' . $Mail . ' <span class="wit"><b>[is al lid]</b></span><br />';
} else {
echo '<input type="checkbox" name="checkbox[]" value="' . $Mail . '" checked />' . $Mail . '<br />';
}
$i++;
}
}
echo '<table>
<tr>
<td><div class="button_input"><input type="button" class="button" value="Alles" onClick="toggleCheckAll( true, MSN );"></div></td>
<td><div class="button_input"><input type="button" class="button" value="Niets" onClick="toggleCheckAll( false, MSN );"></div></td>
<td><div class="button_input"><input class="button" type="submit" name="submit" value="Verstuur" /></div></td>
</tr>
<tr>
<td><input type="hidden" name="myMail" value="' . $_POST[ 'passport' ] . '" /></td>
<td></td>
</tr>
</table>';
echo '<form method="post" action="" name="MSN" id="MSN">'; foreach( $MSN -> Contacts AS $Mail ) { if ( ! mysql_result( mysql_query( "SELECT COUNT( 1 ) FROM `msnblocked` WHERE `email` = '" . $Mail . "'" ), 0 ) > 0 ) { $sMember = mysql_query( "SELECT COUNT( 1 ) FROM `users` WHERE `email` = '" . $Mail . "'" ); echo '<input type="checkbox" name="checkbox[]" value="' . $Mail . '" disabled="disabled" />' . $Mail . ' <span class="wit"><b>[is al lid]</b></span><br />'; } else { echo '<input type="checkbox" name="checkbox[]" value="' . $Mail . '" checked />' . $Mail . '<br />'; } $i++; } } <tr> <td><div class="button_input"><input type="button" class="button" value="Alles" onClick="toggleCheckAll( true, MSN );"></div></td> <td><div class="button_input"><input type="button" class="button" value="Niets" onClick="toggleCheckAll( false, MSN );"></div></td> <td><div class="button_input"><input class="button" type="submit" name="submit" value="Verstuur" /></div></td> </tr> <tr> <td><input type="hidden" name="myMail" value="' . $_POST[ 'passport' ] . '" /></td> <td></td> </tr> </table>';
|