First step to php

Reply

Join Date: Dec 2007
Posts: 72
Reputation: innovativeatul has a little shameless behaviour in the past 
Solved Threads: 0
innovativeatul's Avatar
innovativeatul innovativeatul is offline Offline
Junior Poster in Training

First step to php

 
0
  #1
Dec 1st, 2007
I just decided to share the simple but the first step towards the php, that is the syntax

<?
yourphpcode goes here
?>

Display what you want on browser

<?
echo("MY FIRST Php Page");
?>

I hope it will surely help newbie's in PHP like me.

thnx,
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,240
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 542
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: First step to php

 
0
  #2
Dec 1st, 2007
YOU SHOULD REALLY USE:

  1.  
  2. <?php
  3.  
  4. ?>

some servers dont suppport the short <? tag
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC