No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
i am saving images in database by explding , how can i delete the images by name advance thanks ![]() | |
hi coders.. i need live availability code i am using codeigniter. i am inserting values(username,password,email,phone number) by using array . if the email is already in databse i need to show error message.. with out reloading the page.... thanks in advance. | |
this is my controller i am very new to codeigniter. -------------------------------------------------------- public function joinus() { if($this->input->post('submit')) { $this->load->library('email'); $to=$this->admin_model->get_goinmail(); $from=''; $subject=''; $message=''; $config['mailtype'] = 'html'; $config['protocol'] = 'sendmail'; $this->email->initialize($config); $this->email->set_newline("\r\n"); $this->email->from($from); $this->email->to(@$to); $this->email->subject(@$subject); $this->email->message(@$message); if($this->email->send()) { $data['mail_status']="sucess"; }else{ $data['mail_status']="Un sucess"; } } $data['get_goinmail']=$this->admin_model->get_goinmail(); $data['content'] = $this->load->view($this->view_dir .'joinus',$data,TRUE); $this->load->view('template',$data); } i … |
The End.