Welcome Guest, Not a member yet? Register   Sign In
Buttons not working after moving CI code to another server
#11

[eluser]wokdonka[/eluser]
OK - now I *know* I'm going out of my mind. views/loginview.php is exactly the same on both machines; both of them say

Code:
// display a submit button
echo form_button('submit','Submit');

Why would one of them generate different output from the other???
#12

[eluser]jáquer[/eluser]
I dunno. Different CI versions maybe? I've always used:

Code:
form_submit('submit', 'Submit');
#13

[eluser]wokdonka[/eluser]
May you have fame and fortune unto the tenth generation, and your plumbing never leak! Smile That took care of it instantly.

I suspect that you're right - the CI version is slightly different - but I didn't expect something as basic as 'form_button' to fail. I'll use form_submit() from now on. Thank you very, very much!




Theme © iAndrew 2016 - Forum software by © MyBB