Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 132,658 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,184 people online right now. Registration is fast and FREE... Join Now!




Basic Of Understanding Php?

 
Reply to this topicStart new topic

Basic Of Understanding Php?, PHP

serpentgfx
post 21 Nov, 2002 - 04:57 PM
Post #1


New D.I.C Head

*
Joined: 4 Nov, 2002
Posts: 2

briefly explain what, how we gonna create and use PHP in web pages..the basic principles and coding methodolgy to use such thing efficiently?
User is offlineProfile CardPM

Go to the top of the page

fyrestorm
post 21 Nov, 2002 - 05:33 PM
Post #2


D.I.C Lover

Group Icon
Joined: 4 Apr, 2002
Posts: 3,103



Thanked 2 times

Dream Kudos: 228
My Contributions


you don't ask simple questions do you?

basically php is a good language to use in developing websites because it can make things dynamic so that you don't have to change things by yourself constantly, you can also use databases and that can make things more efficient than if you were using txt files...for example these forums used to be in txt files and they took forever to load, now using php and mySQL the content for the forums is loaded from a db and it goes much faster, that's efficiency...
User is offlineProfile CardPM

Go to the top of the page

kyouto
post 21 Nov, 2002 - 06:19 PM
Post #3


D.I.C Addict

Group Icon
Joined: 13 Jun, 2002
Posts: 718

Basically fyre hit it all up, only thing I think he missed was implementation biggrin.gif Basically... you use variable to print data from the database (be it mysql, flat(txt), or some other random db that has no support? lol)

CODE
<html>
<body>
<? //-----------------
// $var = 'set var'  Basically sets the variable $var to the value in ' '
//--------------
$var = 'hi'
echo '$var'
?>


Basically, if you called info from a db it would store it to $var and print it. That's extremely basic in how it works, and not even close to realizing any potential of php alien2.gif
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 05:36AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month