A PHP Error was encountered

Severity: Warning

Message: fopen(/tmp/ci_session5ce4a48b609e10c561ad9403f9eeccee): failed to open stream: Disk quota exceeded

Filename: drivers/Session_files_driver.php

Line Number: 156

Backtrace:

File: /home/s949hbuup34l/public_html/webphplearn.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /tmp)

Filename: Session/Session.php

Line Number: 140

Backtrace:

File: /home/s949hbuup34l/public_html/webphplearn.com/index.php
Line: 292
Function: require_once

mysql stored procedure to insert data
Apply for Zend Framework Certification Training

Mysql





DELIMITER //
CREATE PROCEDURE insert_user_data (IN first_name VARCHAR(50),IN last_name VARCHAR(50))
BEGIN
    INSERT INTO tbl_user (first_name,last_name) VALUES (first_name,last_name);
END //
DELIMITER ;
CALL insert_user_data('rajesh133','kumar188');                                    

HI viewers
Here I am going to discuss about the code that i have used for
to insert data in mysql using stored procedure

Here in insert_user_data (IN first_name VARCHAR(50),IN last_name VARCHAR(50))
IN inside parenthesis is used to define input and its Data type

< swap two variable value in php Distinct in codeigniter >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top