LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-21-2004, 02:48 AM   #1
suchi_s
Member
 
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
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
You will need to show the code.
 
Old 10-21-2004, 03:29 AM   #3
suchi_s
Member
 
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
rkmalik
LQ Newbie
 
Registered: Oct 2004
Location: UK
Posts: 13

Rep: Reputation: 0
are you using php tags ?

<?php

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.
 
  


Reply


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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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