0 Answer
  • 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 195

Backtrace:

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/views/question.php
Line: 195
Function: _error_handler

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/u125378470/domains/lawhelpguru.org/public_html/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Echo Stdin confusion

I have created two files namely file1.txt and file2.txt. When I write

echo < file1>

It returns an empty line. But cat < file1> returns the contents of the file1.txt.

Since echo prints whatever is sent to it, why is echo not printing the contents of the file1.txt?