Join Kevin Skoglund for an in-depth discussion in this video Strings, part of PHP Essential Training.
- [Narrator] In this movie, we're going to be learning…about the data type called strings.…Strings are a very common feature…of most programming languages,…and we've already been using strings without knowing it.…A string is a set of characters.…Those characters can be letters, numbers, symbols,…and they're going to be defined inside quotation marks,…either single quotes or double quotes.…In non-programming terms,…you can think of a string as being text.…In the last movie, we were working with Hello world.…Hello world is an example of a string.…So is the br tag; that's a string as well.…
It's defined inside those quotes,…it is a string of text that we can then work with.…Let's take our variables.php page and do a save as on it,…so we can create a new one for strings, strings.php,…saved in our sandbox.…I'll call it Strings,…and I'm going to take all of the php that's in here,…and let's just take it all out,…and we can start fresh with our strings.…Let's try it with just a simple echo of a string, right?…Hello World; we saw that before, nice and simple.…
- What is PHP?
- Embedding PHP code on a page
- Inserting code comments
- Variables, strings, arrays, and Booleans
- If, else, and elseif statements
- While and for loops
- User-defined functions
- Function arguments and return values
- Debugging and troubleshooting
Skill Level Beginner
MVC Frameworks for Building PHP Web Applicationswith Drew Falkman2h 57m Intermediate
1. PHP Overview
2. First Steps
3. Explore Data Types
4. Control Structures: Logical Expressions
5. Control Structures: Loops
6. User-Defined Functions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.