|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Ok, I'm new to all this, as in I've only heard of it but never actually used PHP. Um, I don't actually have a specfic question, I just really need someone who is willing to help me. I have no idea what I'm doing and I don't understand PHP at all.
|
|
#2
|
||||
|
||||
|
There are a lot of begginer tutorials on the web if you search for them, many of them are here at dev articles. If you know any other programming or scripting language, then picking up the basiscs of PHP.
Here are just some basics for you though(there are other ways of doign some of the stuff I say, but this is just for you to get started with) #1. http://www.php.net/manual/en is the location of the PHP manual in english. As you learn PHP (and probably true if you are a guru too) it is your best friend becuase it tells you everything about php although it lacks some of the great examples you cna find in tutorials throughout the web, All php script code is held basically between an open and close tag like any other html tag <?php ?> Comments can be made in two ways. Using a double forward slash for a single line comment or "/* */" for multi line comments PHP Code:
to print text in php without leaving php you use the echo statement which is followed by what ever you want to say which is between either single quotes or double quotes PHP Code:
Unlike some other programming languages PHP can automattically tell what type a variable is. To declare a variable you would put a dollar sign followed by the name of the variable.Then you would put an "=" and what the variable can equal. A variable can equal a number, a string(surrounded by quotes or double quotes), a function(not gonna explain this part here) PHP Code:
If you tried echoing the variables without using double quotes on the string you are echoing out without a variable it will not work correctly. You can echo a variable without a string attached to it ie. PHP Code:
I hope this is enough to get you started ![]()
__________________
CHornJr "One day I'll know what I am doing" ![]() My Blog Suanhacky Lodge #49 Rebel Squadrons |
|
#3
|
||||
|
||||
|
Whoa! - got a bit of time on your hands atm CHornJr ??
![]() |
|
#4
|
||||
|
||||
|
Quote:
Just thought Id give back to the community for once ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Confused Badly |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|