Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-21-2004, 02:48 AM   #1
Registered: May 2004
Posts: 133

Rep: Reputation: 15
echo does not work in php code

it works till half of the code..
after two blocks stop givin output on the screen..
echo value of some variable.. that is global..
reason not giving its output
Old 10-21-2004, 03:01 AM   #2
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
You will need to show the code.
Old 10-21-2004, 03:29 AM   #3
Registered: May 2004
Posts: 133

Original Poster
Rep: Reputation: 15
if i print echo "hi" also within php tag it does not print
Old 10-21-2004, 03:39 AM   #4
LQ Newbie
Registered: Oct 2004
Location: UK
Posts: 13

Rep: Reputation: 0
are you using php tags ?


echo "Hello world" ;


Name the above file as hello.php run following command.

php hello.php

If still doesn't work, then let me know how did you install your php, was it a compiled (rpm) or you did all compiling stuff.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
icmp echo reply wont work pali Linux - Networking 2 08-17-2005 12:34 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
Kphone echo (echo echo) scabies Linux - Software 0 10-18-2004 02:59 PM
using 'echo' in a system statment in php evilchild Programming 3 09-23-2004 02:27 PM
Echo /devPrinting doesn't work, echo /usb/lp0 works, Testpage works, Printing doesn't Hegemon Linux - General 3 08-15-2002 01:13 PM

All times are GMT -5. The time now is 01:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration