CodeIgniter Forums

Full Version: Very Strange Bug or a problem When using the php tags as inputs in a form.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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