REFERENCE basic syntax of php codes for noobs

fred

Registered
Joined
Jun 12, 2014
Messages
356
Reaction score
4
Points
31
first thing first you need to download notepad++ para mas madali ang buhay natin :D

<?php <== remember this is always the first line of your php code


<?<== this will be always be the end


remember this two commands at very critical sa php coding else magiging basura lang ang codes nyo pag wala ang bawat isa..

sample of php code on a php server inprinting the word " alive "



<?php
Print "alive";
?>

or

<?php
Echo "alive ";
?>



did you notice the red command

echo and print are command line accepted by php server to execute..

by the help of php servers this commands will be announced by the web server to be able to see by client..


now there is a bunch of php syntax that can be found on google wag masyado aasa sa tanong...

http://php.net/manual/en/language.basic-syntax.php

you want to learn try researching.. pag hindi nyo talaga makita saka kayo mag tanong..

i know maraming marunong na dito at advance na.. this thread is for those noobs only....

next lecture to follow.. :D


br
freddy
 
Last edited by a moderator:
sorry guys mukang hindi ako maka pagpost ng syntax pala dito haha :D

quote nyo na lang para makita nyo kung ano sinasabi ko haha :D

br
freddy
 
idol fred, ikaw mentor ko sa PHP ha.. try ko nga mag-aral nito.. ^_^

PSP lang po kasi alam ko sa ngayon eh.. =))
 
Who read this thread (Total readers: 0)
No registered users viewing this thread.
Back
Top