The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to prevent empty array values in serialization?
I have six textboxes on a page.
For the db insert I do PHP Code:
Results inserted in db are as below PHP Code:
How can I prevent the other empty values to be recorded? |
#2
|
|||
|
|||
Unset empty array items?
|
#3
|
|||
|
|||
how would i do that?
This is the full code PHP Code:
Here is a print out of results. First line is $keys1 second is $keys2 and third is $diff PHP Code:
|
#4
|
|||
|
|||
PHP Code:
|
#5
|
|||
|
|||
Thanks filburt1. Finally that is getting somewhere.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|