020 555 1111
  • Old fashion, modular, procedural PHP plus some scaffolding techniques to allow it to mimic MVC simplicity.
  • A quick reference to help you find in PHP maze what needs to be done and how to do it.
  • Learn a PHP Object Oriented Programming by building a live discussion forum application.
  • MVC - Model View Controller - real life, easy reference and application.
This product has options, take a look at them and select ones you like the most.
Options are displayed under image section.
Top » PHP » misc

Passing number via form
[php misc]

Numbers cannot be passed as integer.
They have to be transformed into string. For that use: 

strval()

To transform number into a string. I also allows number to show in form element, e.g. input field.

To turn it back to integer, use:

intval()
This fixes missing numbers in form elements, e.g. defaults, or values populating form elements.