Thanks so much Shaun. I've looked at other "introduction to PHP" articles and content but found they assumed so much prior knowledge that I couldn't even get started -- ended up having no idea how to use, test and run PHP locally each time -- but now thanks to you I've at least got my foot in the door enough to actually experiment and use it instead of failing at the front door.
@phily80204 жыл бұрын
Agree there is definitely a gap in the market, for massively simplifying code...
@D2SProductions4 жыл бұрын
And the reason why the indexed array works like the way you call for the character at a certain position in a string is because a string is an array of individual characters, I learned that in my Visual Basic class in college. So when you're creating an array of strings you're actually creating a multidimensional array because you have the array of characters for each name and the array for each name entry. In some of the older programming languages you actually had to create an string array for hold a word consisting of more than one character, an array index for each character of the word, and to have multiple words it would be a multidimensional array because in older programming languages a string only holds a single character, to old more than one character requires an array, it still works that way it's for more modern programming languages it's just built in to the string functionality instead of you having to create a string array just for a single word consisting of more than one character.
@dibbyabarua94993 жыл бұрын
So, associative arrays are similar to std::maps in C++ ... that is very interesting... Love your videos. Very clear, concise, and easily understandable.
@internetuser28454 жыл бұрын
Ninja has got the best tutorials for php.... Love it😘
@soumadip_banerjee4 жыл бұрын
The best teacher.. And my best KZbin channel on Tech! God bless UK.. LOL ❤️❤️❤️
@Eric1969103 жыл бұрын
I really love your tutorial. Thanks. Your way of teaching is so clear and is helping me a lot.
@nielfollero52 жыл бұрын
Is this tutorial still relevant? I'm learning php and I'm depending my php knowledge to this tutorial now.
@Eveer.r2 жыл бұрын
impressed by your creativity with people names : |)
@dotunn4 жыл бұрын
lol, loving the street fighter and Japanese references. That enough made me a fan, very straightforward teaching thanks!
@theceo81004 жыл бұрын
Am Enjoying this so much Shaun, my words may not be enough to appreciate you. but i say thanks
@T21-TwentyOneTrailers.5 жыл бұрын
Nice and easy, thanks for your efforts.
@arc86962 жыл бұрын
Thank you. great series.
@emmadas3 жыл бұрын
When you say parameters I think you mean arguments, since the parameters are the variables that are declared in the function itself, whereas you are actually placing values when u use the function such as array_push()
@Vision27295 жыл бұрын
Awesome video! When you reach MySql, could you explain how to actually use this database system, and not only in local? What I usually see is MySql connect ("localhost" "root") but what if the website will be online? Thank you!
@BigyetiTechnologies5 жыл бұрын
Should just involve writing a database connection string which contains database server, database name, username and password. If he doesn't cover it, there are generators online that generate one for you.
@eti2411 Жыл бұрын
Thanks mate. very hekpful 💯💯💯
@mdyousufislam58123 жыл бұрын
Thank You so much the course is really helpful
@mydreamynights3 жыл бұрын
Hello, thank you for your wonderful tutorials. I have done c and c++ before so these are very easy for me. now do I need to learn more about the basic syntaxes or these should be fine? if I need to learn more where should be the perfect place for me? thanks and love :)
@shubhamgupta43005 жыл бұрын
Shaun plays mario a lot. by the way nice tutorial.
@NetNinja5 жыл бұрын
I wish I had the time to! XD
@faiedweb5 жыл бұрын
Thank you so much, can you please tell us how do you record your screen, and which software do you use? and how you used it ?
@atishmhatre48955 жыл бұрын
nice Tutorial Shaun, Thank You!
@Shivam-jh5ke4 жыл бұрын
How can I push multiple values in associative array. I mean the syntax?
@kigali_glam4 жыл бұрын
that man save me now ...!
@mandizzle05175 жыл бұрын
thanks net ninja!
@Mustafa-cv1pk5 жыл бұрын
thank you ))) are we gonna use associative ever ??
@vip510004 жыл бұрын
Do you have a video with an associative array?
@zizou56384 жыл бұрын
I tried to use the array_push() function to associative arrays but it does not work perfectly?? it only allows me to push values and it sets it up to a default key starting from index 0... so it there a way to use the array_push() to add the desired key&value pair?
@DZ-zo1fk4 жыл бұрын
you don't have php course on udemy?
@astratow4 жыл бұрын
Hi GangMaster!
@yamato234883 жыл бұрын
16:17 what if I only want to get 'mario' => 'orange' in the array?
@DmitryPopovFreeWind5 жыл бұрын
Thank you so much!
@hl69035 жыл бұрын
some error shows array output Parse error: syntax error, unexpected '[' in C:\wamp\www\tutorial_php\L7-array\index.php on line 4
@kevinmensah18925 жыл бұрын
Same here
@hl69035 жыл бұрын
@@kevinmensah1892 solution is to update wampserver or xamp it's working on new version of php servers
@derrickdelancey5554 жыл бұрын
If the array was $age = [1,2,3,4].......and you perform the print_r($age) it will display onscreen Array([0]=>1, [1]=>2, [2]=>3, [3]=>4) but is there away to print all the values in the array without all added positions inside the [ ] and => ?
@screamingshroom32214 жыл бұрын
Yeah, but you have to use a foreach loop for that. foreach($age as $val){ echo "$val "; } this would result in seeing 1 2 3 4
@lovietech38852 жыл бұрын
Is there anything like this in php as how it is in python without using loop; num = [4, 7, 9, 0, 2] print num[0:2] This is to print from index 0 to index 2 which the output is 4, 7, 9
@samuelakinnuoye9938 Жыл бұрын
hopefully this works.
@zaffarmughal54785 жыл бұрын
Hey Super Ninja! @ 13:05 why using print_r to print the whole array as they are all sting, previously you used it because of integers in the array. Is there any other reason too?
@kamrannawaz51065 жыл бұрын
print_r is the function it will print the whole array both indexed array and associated array..
@devyanichoubey6923 жыл бұрын
Code is not available on github
@sean64365 жыл бұрын
i get this error when i try to create the ages array: Parse error: Invalid numeric literal in C:\xampp\htdocs\CMS\index.php on line 55
@sean64365 жыл бұрын
i created a new array called Mages and it worked.
@bernard71672 жыл бұрын
ok cool!
@nicolaiveliki14095 жыл бұрын
so associative arrays are just key-value-maps
@t3ntube3574 жыл бұрын
I learn JS first, and OMG what a mess this PHP
@Ab-cj6gl3 жыл бұрын
😂😂i'm learning php and JS on the same time and yes two different vibes man 😂😂 but for some reason i'm loving php more