Welcome Guest, Not a member yet? Register   Sign In
Sending email with CodeIgniter and JQuery!
#21

[eluser]AdonisSMU[/eluser]
Well I thought I had figured out the problem. However, I was wrong.

http://oaklawnbowling.com/NEW_Site is actually

http://oaklawnbowlingassociation.com/NEW_Site

Well what's happening is that oaklawnbowling.com is actually saying that it's sending everything and isn't. Whereas http://oaklawnbowlingassociation.com/NEW_Site actually starts loading but gets lost in the php script and never stops loading.
#22

[eluser]Ben Edmunds[/eluser]
So which site are you working on?

Do you have access to both frontend and backend?
#23

[eluser]AdonisSMU[/eluser]
I ahve access to both front end and backend.

http://oaklawnbowlingassociation.com/NEW_Site is the site that I am actually working on.
#24

[eluser]AdonisSMU[/eluser]
[quote author="Ben Edmunds" date="1262736093"]So which site are you working on?

Do you have access to both frontend and backend?[/quote]

I ahve access to both front end and backend.

http://oaklawnbowlingassociation.com/NEW_Site is the site that I am actually working on.
#25

[eluser]AdonisSMU[/eluser]
Can any one help me with Code Igniter and Ajax.
#26

[eluser]Ben Edmunds[/eluser]
Did you ever try changing the code

Code:
if($this->form_validation->run() == FALSE)
        {
            echo "Hello";

to

Code:
if($this->form_validation->run() == FALSE)
        {
            echo validation_errors();

???
#27

[eluser]Ben Edmunds[/eluser]
Also you shouldn't have semi-colons in the posted names. Maybe EE put those there but if you have them in the code you should remove them.

Code:
data: 'team_name=' + team_name + '#_bowlers=' + num_bowlers +
                  '&main;_contact=' + main_contact + '&main;_email=' + main_email +
                  '&team;_comment=' + team_comment,
#28

[eluser]AdonisSMU[/eluser]
[quote author="Ben Edmunds" date="1262816943"]Did you ever try changing the code

Code:
if($this->form_validation->run() == FALSE)
        {
            echo "Hello";

to

Code:
if($this->form_validation->run() == FALSE)
        {
            echo validation_errors();

???[/quote]I changed that. and EE put those semi colons in there. I tried to get rid of them but didn't know how. In any case, I think I got it to work finally. It had something to do with the domains that was screwing everything up and the fact that I wasn't accessing the selected values correctly in my jQuery.

Thanks so much for all of your help guys! I really appreciate it a bunch!




Theme © iAndrew 2016 - Forum software by © MyBB