|
Microsoft Windows |
|
Microsoft Word |
|
Microsoft Excel |
|
Photoshop |
|
Spletni programi |
|
Raznoraznarije |
|
|
|
Start learning PHP - part 2 |
|
|
|
|
|
|
|
Often in PHP you want the same block of code to run over and over again and instead of adding several almost equal lines, you can use loops to perform this task much easier.
Link to the content ...
|
|
|
|
|
|
|
|
|
Keep them coming, thank you! |
|
|
|
|
|
|
|
|
Hy there!I hope i'm not late with the question, but i noticed the dots used in section 2. Arrays in the echo commands, also in section 3. Foreach in the end of the echo command. What is the purpose or role of the dots in php?Great tuts, thank you! |
|
|
|
|
|
|
|
|
Don't worry, you are not late. We are always here.
To answer your question, dot in PHP is operator for concatenating strings.
To give you a simple example: $a = "Hello "; $b = "world"; $c = $a . $b; // the value of $c variable is now "Hello world"
In the lesson in step 2, the dot operator is used just for better formatting of output text by appending ", " after the names. Otherwise it is not necessary.
I hope you now get the idea on how to use dot operator. If you have any additional questions just let me know and I will do my best to answer you.
|
|
|
|
|
|
|
|
|
Yes, now i understand, thank you!
I've started to learn php yesterday :D so i'm a huge question mark with arms and legs, but thanks to this awesome tut, i actually understand what i'm seeing.
Thanks again
| changed: Ascocrist (24th Sep 2013, 1:37 PM) |
|
|
|
|
|
|
|
|
|
I was looking at the other php tutorials but they are way above my level. Could you point me to more tutorials, similar to yours?
Thank you! |
|
|
|
|
|
|
|
|
You can try this one: http://www.w3schools.com/php/
I would also suggest that when you learn something new, you always try this in practice by creating a simple example.
If you have any additional questions just let me know. |
|
|
|
|
|
|
|
|
Thank you!
If i'll come across any problems, i'll surely ask
Thanks again! |
|
|
|
|
|
|
|
|
nice
| changed: zarajoseph (7th Apr 2024, 7:13 AM) |
|
|
|
|
|
|
|
|
|
Learning PHP is a great choice if you're interested in web development, as PHP is a widely used server-side scripting language that powers many websites and web applications. Here's a step-by-step guide to help you get started with learning PHP red hat online training platform provides flexibility for professionals to learn at their own pace and from anywhere with an internet connection.
|
|
|
|
|
|
|
|
|
|
|