コードを実行すると、mysql error() が表示され、Query Execution.Error で Error : Problem In Executing the Query: が表示されます。
insert into kyaami_user_logins set `user_id` = '32', `email` = 'test@test2.com', `ip` = , `timestamp` = NOW(), `state` = 'success', `active`=1
MySQL エラー: ()
<?php
if ( isset( $_GET['msg'] ) )
{
if ( $_GET['msg'] == 1 )
echo "Invalid User. Try Again.";
if ( $_GET['msg'] == 2 )
echo "Account Activated Successfully.";
if ( $_GET['msg'] == 3 )
echo "Your Account is Locked. contact Administrator.";
if ( $_REQUEST['msg'] == 4 )
echo "Mail has been sent to your email address.";
if ( $_REQUEST['msg'] == 5 )
echo "Your Account is already activated, Login Here";
if ( $_REQUEST['msg'] == 6 )
echo "Your Activation link has been expired, please register again";
}
?>
</span></td>
</tr>
<tr>
<td width="70" align="right" valign="top"><p class="form_text" style="color:#FFF;" align="right"><strong> Email</strong></p></td>
<td width="410"><div class="form_input_BG"><input type="text" name="username" id="username" value=""/></div></td>
</tr>
<tr>
<td valign="top"><p class="form_text" style="margin-left:8px; color:#FFF;"><strong>Password</strong></p></td>
<td align="left"><div class="form_input_BG"><input type="password" name="pwd" id="pwd" value=""/></div>
</td>
</tr>
<tr>
<td> </td>
<td> <strong><a href="index.php?page=forgot_pwd" >Forgot your password?</a></strong></td>
</tr>
<tr>
<td> </td>
<td><div class="form_login_signup_btn">
<input title="login Now" type="image" src="images/login_btn.png" name="formSubmit" id="login" width="104" height="33" /> <!--<input type="image" src="images/signup_btn.png" title="Signup Now" name="signup" id="signup" />--> <a href="fbconnect.php"><img src="images/fconnect-but.gif" width="89" height="21" border="0"></a> <a href="twit_redirect.php"><img src="images/sign-in-with-twitter.png" width="151" height="24" alt="Sign in with Twitter" border="0" /></a>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="clr"></div></div>
<div class="clr"></div>
</div>
</form>