A PHP Error was encountered

Severity: Warning

Message: fopen(/tmp/ci_session3c96338ffac9949e53d2015c064fce94): 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

How to return last one hour result in mysql
Apply for Zend Framework Certification Training

Mysql




SELECT phoneno,employee_id, 
    IF(LENGTH(CODE)=20 || LENGTH(CODE)=4,'right_code','wrong_code') 
AS code_status  FROM employee  WHERE created_on >= DATE_SUB(NOW(),INTERVAL 1 HOUR); 
                                     

< How to get last record from table Select query in mysql >



Ask a question



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


Back to Top