![]() |
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? |
Unset empty array items?
|
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:
|
PHP Code:
|
Thanks filburt1. Finally that is getting somewhere.
|
All times are GMT. The time now is 09:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|