View all courses
Read more
The Language Which does not need any prior knowledge of Programming and Easy to learn .Python is Object-oriented ,interpreted and Server side Scripting language . It is mainly used for lynux platform.
In Advance concept After learning Core Python We will use Python to create Desktop Application, Web Application, Sockets Programming , Multithread Programming. Since its An Open source Language its free of Cost
Ruby is server side, dynamic, reflective, object-oriented, general-purpose programming language. Ruby is "an interpreted scripting language for quick and easy object-oriented programming"
Ruby on Rails, or simply Rails, is a web application frameworkwritten in Ruby under the MIT License. Rails is a model–view–controller (MVC) framework, providing default structures for a database, a web service, and web pages.
If you have any confusion then you can ask our experts.Our experts will guide you properly.
We are looking you if you are looking guidance for web design and development. Apply online.
Contact us
Controller user.php <?php class user extends CI_Controller { function __construct() { parent::__construct(); } function index() { $this->load->library('form_validation'); $this->form_validation->set_rules('fname','First name','required|min_length[5]'); if($this->form_validation->run()==FALSE) { $this->load->view('login'); } } } View login.php <?php echo form_open('user/index'); ?> <?php echo form_input(array('id'=>'fname','name'=>'fname'));?><?php echo form_error('fname')?> <?php echo form_submit(array('id'=>'submit','name'=>'submit','value'=>'Data Post'))?> Some more validation Rules $this->form_validation->set_rules('dname', 'Username', 'required|min_length[5]|max_length[15]'); $this->form_validation->set_rules('demail', 'Email', 'required|valid_email'); $this->form_validation->set_rules('dmobile', 'Mobile No.', 'required|regex_match[/^[0-9]{10}$/]'); $this->form_validation->set_rules('daddress', 'Address', 'required|min_length[10]|max_length[50]'); Note :- If you want to search the uniqueness in field in Table $this->form_validation->set_rules('username', 'Username', 'required|min_length[5]|max_length[12]|is_unique[users.username]'); $this->form_validation->set_rules('password', 'Password', 'required|matches[passconf]'); $this->form_validation->set_rules('passconf', 'Password Confirmation', 'required'); $this->form_validation->set_rules('email', 'Email', 'required|valid_email|is_unique[users.email]'); The above code sets the following rules: 1. The username field be no shorter than 5 characters and no longer than 12. 2. The password field must match the password confirmation field. 3. The email field must contain a valid email address.