CodeIgniter Forums
Very Strange Bug or a problem When using the php tags as inputs in a form. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Very Strange Bug or a problem When using the php tags as inputs in a form. (/thread-47112.html)



Very Strange Bug or a problem When using the php tags as inputs in a form. - El Forum - 11-26-2011

[eluser]arif_stalker_majid[/eluser]
Hello,

I was using this value as an input : "<?php echo "how r u"; ?>"

before adding it in the db, i saw the data dump and found it to be perfectly changed in to
"<?php echo "how r u"; ?>"

BUT.. on seeing the database entry i found out it was saved with this value
"Majid<?php echo "how r u"; "

the closing PHP tag was missing...

i am using $this->input->post("",true);

thanks