[SOLVED] Verifying Users part2
Moderator: General Moderators
-
anthony88guy
- Forum Contributor
- Posts: 246
- Joined: Thu Jan 20, 2005 8:22 pm
[SOLVED] Verifying Users part2
Ok, i can display the users that have to verifed, but when i get the box and submit it to be verifed (update the database) it doesn't.
Last edited by anthony88guy on Thu May 12, 2005 5:46 pm, edited 3 times in total.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
-
anthony88guy
- Forum Contributor
- Posts: 246
- Joined: Thu Jan 20, 2005 8:22 pm
Warning: Invalid argument supplied for foreach() in /home/*********************.php on line 135
So its still an error on line 135 which is
Line 135: foreach($_POST['name'] as $name => $value){
I will test it with just "print_r($_POST['name'])"
EDIT: I tried with just "print_r($_POST['name'])" can it prints nothing.
So its still an error on line 135 which is
Line 135: foreach($_POST['name'] as $name => $value){
I will test it with just "print_r($_POST['name'])"
EDIT: I tried with just "print_r($_POST['name'])" can it prints nothing.
Last edited by anthony88guy on Thu May 12, 2005 6:02 pm, edited 1 time in total.
Then it's probably not an array.anthony88guy wrote: EDIT: I tried with just "print_r($_POST['vusername'])" can it prints nothing.
what does the source look like before you submit it?
does it show:
Code: Select all
<input name="e;vusernameї]"e; type="e;checkbox"e;>try also echoing $_POST['vusername'] and see if it says "Array"
from what you posted (for all intents and purposes), it looks to me like it should work, but if print_r isn't giving you anything...there's someting awry
-
anthony88guy
- Forum Contributor
- Posts: 246
- Joined: Thu Jan 20, 2005 8:22 pm