Welcome Guest, Not a member yet? Register   Sign In
submit button not redirecting

I have tested your code and it works.

Quote:helloyour mail was sent

is displayed after I hit the submit button.

Does your browser do anything when you hit submit? Does it start to load?
Do you have this in a htaccess file?
#Rule for routing all page requests through index.php
RewriteCond $1 !^(index\.php|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

And your config set to this?
PHP Code:
// Set the protocol
$protocol 'http://';
if ( isset( 
$_SERVER["HTTPS"] ) && strtolower$_SERVER["HTTPS"] ) == "on" ) {
$protocol 'https://';
} else {
$_SERVER['HTTPS'] = 'off';
// Set the base_url
$config['base_url'] = $protocol.$_SERVER['HTTP_HOST'];

// Index File
$config['index_page'] = ''// Blank so index.php is not added to generated URLs 

What does your post url look like in your page source?

When all fails retry with a fresh install of CodeIgniter.

Good luck!

No it doesnt do any thing when i hit the submit buttonSad
when i try the send menthod separately it works.
but when i hit submit it doesnt load or anything.

I even downloaded CI again and tried but the same problem Sad

Theme © iAndrew 2016 - Forum software by © MyBB