
09-30-2007, 05:49 AM
|
 |
|
|
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Admin CP Form
When creating a new admin control panel page I need to do some validation but maybe Im just staring at this too long.
Its not evaluating correctly and evals as true each and every time under any condition - blank or populated.
uploads_location is the input element name control.
Code:
if (empty($vbulletin->GPC['uploads_location']))
{
print_stop_message('fieldmissing');
}
What am I doing wring lol?
|