php varsayılan değer ve non-nesne

0 Cevap

i have a multipage form with some textfields. When you fill out the form and press next the form stores the values in an object. When you press the backbutton it reloads those values in textfields. This works fine.

Eğer başlangıçta formu yüklediğinizde ancak, nesne kadar oradan değerleri yüklemek için bir şey olduğunu ve bir nesne olmayan hata, bir üye işleve bir çağrı olsun oluşturulmaz.

Örnek:

<inputfield value='$object->getValue()'>

Nesne sadece boş bırakın yoksa zaman ki bunu söylemek için bir yol var?

0 Cevap