wezze Posted June 23, 2012 Share Posted June 23, 2012 ive got a login script that works great only the update lvl of users doesnt work if i do it directly in myphp it works but not with the php script. constants.php define("ADMIN_NAME", "admin"); define("MOD_NAME", "Mod"); define("MEMBER_NAME", "Member"); define("USER_NAME", "User"); define("GUEST_NAME", "Guest"); define("ADMIN_LEVEL", 9); define("MOD_LEVEL", 7); define("MEMBER_LEVEL", 5); define("USER_LEVEL", 2); define("GUEST_LEVEL", 0); admin.php Username:<br> <input type="text" name="upduser" maxlength="30" value="<? echo $form->value("upduser"); ?>"> </td> <td> Level:<br> <select name="updlevel"> <option value="1">1 <option value="1">2 <option value="1">5 <option value="1">7 <option value="9">9 </select> </td> <td> <br> <input type="hidden" name="subupdlevel" value="1"> <input type="submit" value="Update Level"> </td></tr> </form> im struggling on this for 2 weeks now so any help would be great thx Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted June 23, 2012 Share Posted June 23, 2012 That code has nothing to do with MySQL, and you haven't explained your problem well enough for anyone to provide an answer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.