Quote:
Originally Posted by Marco van Herwaarden
PHP Code:
$vbulletin->input->clean_gpc('p', 'title', TYPE_FILE);
Then you should not use TYPE_FILE but TYPE_STR or TYPE_NOHTML.
|
Yeah I changed to TYPE_STR, but how can I count total names of the form fields where is not blank?
And how to make this in vbulletin?
Code:
for ($x = 1; $x <= 10; $x++)
{
$_POST["title"][$i] = $vbulletin->input->clean_gpc('p', 'title'[$i], TYPE_STR);
}