I retrieve three pieces of information from the database. 1 integer, 1 string, 1 date. I echo them out to verify the variables contain the data.
Daha bu yüzdennra sayfada üç giriş kutularını doldurmak için değişkenleri kullandığınızda, bunlar doğru doldurmak değil.
Aşağıdaki çalışmaz:
id: <input type="text" name="idtest" value=$idtest>
görünür olması için evet, değişken içinde olmalıdır
bu yüzden
id: <input type="text" name="idtest" value=<?php $idtest ?> /> 
alan görüntüler /
Ben tırnak Kaçtığımızda
id: <input type="text" name="idtest" value=\"<?php $idtest ?>\"  /> 
alan daha sonra "\" \ görüntüler
Tek tırnak
id: <input type="text" name="idtest" value='<?php $idtest ?>'  /> 
Alan görüntüler hiçbir şey ya da boş
Tek tırnakescaped
id: <input type="text" name="idtest" value=\'<?php $name ?>\'  />
Alan görüntüler \ '\'
bir eğik çizgi ile (ben bunun doğru olmadığını biliyorum, ama tartışma bunu ortadan kaldırmak için)
id: <input type="text" name="idtest" value=/"<?php $name ?>/"  /> 
Alan görüntüler / "/"
double quotes, escape double quotes, escape double quotes on left side only, etc do not work.
I can set a input box to a string.  I have not tried using a session variable as I prefer to avoid do that.
What am I missing here?
