Exforsys

Online Training

Sample PHP code shows Blank Page

This is a discussion on Sample PHP code shows Blank Page within the PHP forums, part of the Programming Talk category; Hello, I wrote one of the Sample PHP code in the following way... <? echo "hi"; ?> and ...


Go Back   Exforsys > Programming Talk > PHP

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-23-2006, 05:06 AM
Member
 
Join Date: Jan 2006
Posts: 34
Guptha_S is on a distinguished road
Sample PHP code shows Blank Page

Hello,

I wrote one of the Sample PHP code in the following way...

<?
echo "hi";
?>

and also i tried with

<?php
echo "hi";
?>

I tried with these simple example...but the output is blank page.
Any Help...

Regards
Guptha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-28-2006, 07:43 AM
Junior Member
 
Join Date: Jul 2006
Posts: 20
chowsys is on a distinguished road
blank in browser

<?php
echo "hi";
?>


this is correct..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-05-2006, 07:00 AM
Senior Member
 
Join Date: Apr 2006
Posts: 162
sammy is on a distinguished road
The syntax used in second option namely
<?php
echo "hi";
?>

Is absolutely right. Just make a cross check on your configuration settings.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-08-2006, 05:21 PM
Junior Member
 
Join Date: Dec 2006
Posts: 27
Quozty is on a distinguished road
try <?php

phpinfo();

?>

see if that outputs anything? if not make sure PHP is running
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-18-2006, 02:23 AM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
Gupta there are quite a lot of suggestions posted by our friends. Just kindly update whether you have tried and what you tried and the output of same so that we could know about it and if needed we could give out few more suggestions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Php Tutorials and ebooks cybot PHP 1 04-14-2007 04:01 AM
php code tay6563 PHP 3 12-07-2006 02:21 AM
Query and List, PhP Main Page Auto Listing of User Actio CarryD PHP 0 09-02-2006 05:51 PM
How to achieve this - Minimum Code to Strip Blank Spaces norman C and C++ 3 06-17-2006 08:20 PM
Making a Spider Friendly Page mtajim Web 2.0 6 05-01-2006 08:18 PM


All times are GMT -4. The time now is 07:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.