The request to the mssql database does not work. Codeigniter itself is configured to have a connection checked by the Controller:

public function register() { if (isset($_POST['register'])) { $data = array( 'memb___id' => $_POST['login'], 'mail_addr' => $_POST['email'], 'memb__pwd' => $_POST['pass'] ); $this->db->_insert('MEMB_INFO', $data); $this->session->set_flashdata("success", "Π’Π°Ρˆ Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚ Π±Ρ‹Π» зарСгистрирован. Π’Ρ‹ ΠΌΠΎΠΆΠ΅Ρ‚Π΅ Π²ΠΎΠΉΡ‚ΠΈ сСйчас"); redirect(base_url(), 'refresh'); } $this->load->view('register'); } 

register.php:

  <form action="<?php echo base_url('home/register')?>" class="popup-input-search" method="post" > <div class="col-md-6"> <input type="text" class="input-signtype" id="login" name="login" placeholder="UserName"> </div> <div class="col-md-6"> <input type="text" class="input-signtype" id="email" name="email" placeholder="Email"> </div> <div class="col-md-6"> <input type="password" class="input-signtype" id="pass" name="pass" placeholder="Password"> </div> <div class="col-md-6"> <input type="password" class="input-signtype" id="re_pass" name="re_pass" placeholder="Confirm Password"> </div> <div class="col-md-6"> <div class="be-checkbox"> <label class="check-box"> <input class="checkbox-input" type="checkbox" required="" name="rules_verify" value="yes" > <span class="check-box-sign"></span> </label> <span class="large-popup-text"> Π― ΠΏΡ€ΠΎΡ‡ΠΈΡ‚Π°Π» ΠΈ согласСн с <a class="be-popup-terms" href="blog-detail-2.html">условия использования</a> ΠΈ <a class="be-popup-terms" href="blog-detail-2.html">ΠŸΠΎΠ»ΠΈΡ‚ΠΈΠΊΠ° ΠΊΠΎΠ½Ρ„ΠΈΠ΄Π΅Π½Ρ†ΠΈΠ°Π»ΡŒΠ½ΠΎΡΡ‚ΠΈ</a>. </span> </div> </div> <div class="col-md-6 for-signin"> <button class="be-popup-sign-button" name="register">Register</button> </div> </form> 
  • A successful connection does not guarantee the ability to insert data into a table. I propose to check the response from the database when sending a request, turn on debugging - Serge Nazarenko
  • I deduced the data from the database through PHP and the registration did not correctly indicate the base works everything with the base was a problem - Codeigniter Mssql

0