input->post('form'); if ($form) { if ($form['name'] == '') { $error = "Enter your name."; } elseif ($form['email'] == '') { $error = "Enter your email."; } elseif ($form['message'] == '') { $error = "Enter a message."; } if (!$error) { $this->load->library('email'); $this->email->from('no-reply@spreadbetting.ltd.uk', 'Spread Betting'); $this->email->to('andy@hg-i.com'); $this->email->cc('admin@spreadbetting.ltd.uk'); $this->email->subject('Message from Spread Betting contact form'); $message = "Message from spreadbetting.ltd.uk.\n\n"; $message .= "From: " . $form['name'] . ' ' . $form['email'] . ' ' . $form['telephone'] . "\n\n"; $message .= $form['message'] . "\n\nAutomatically sent from Spread Betting. Do not reply to this email. Create a new message using the From: address above."; $this->email->message($message); $this->email->send(); $success = "Your message was sent. We'll be in touch."; } } ?>

Contact Us

Get in touch. Send us a message, Give us a call. Write to us. Tweet us. Facebook us or even write us a letter. However don’t just turn up to our office unexpected :)

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: error

Filename: views/contact.php

Line Number: 82

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: success

Filename: views/contact.php

Line Number: 85

Contact Us

Spread Betting Ltd (HA.UK)
1 Caspian Point
Cardiff Bay
CF10 4DQ

admin@spreadbetting.ltd.uk

Phone TBC