Welcome Guest, Not a member yet? Register   Sign In
[Help] Insert a Contact Form

(10-08-2015, 02:47 AM)孤单的小猴子 Wrote: Hi there,

Im newbie with CI also php. Im learning everyday.

I did the tutorial from CodeIgniter, specifically about StaticPages.

So I have Class Pages, and function view.

I wanna put a Contact Form, this one (https://github.com/abkr/codeigniter-contact-form) so i create a new controller named Contact.php and the view from the source.

When i go to: url.com/contact of course i got an error: Call to undefined function validation_errors()

I guess when "contact" is called, first call to "Pages" controller?

My question is how can I add this Contact Form into my "contact" whithout disturbing my ClassPages from tutorial.

Sorry for my bad english.

You can paste the code to see where there are problems.
the founder of CodeIgniter Chinese community - http://codeigniter.org.cn

Messages In This Thread
RE: [Help] Insert a Contact Form - by slax0r - 10-08-2015, 04:19 AM
RE: [Help] Insert a Contact Form - by Hex - 10-12-2015, 04:02 AM
RE: [Help] Insert a Contact Form - by mwhitney - 10-14-2015, 08:02 AM

Theme © iAndrew 2016 - Forum software by © MyBB