Комментарии:
Thanks mate. very hekpful 💯💯💯
Ответитьimpressed by your creativity with people names : |)
Ответить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
Thank you. great series.
Ответитьok cool!
ОтветитьI really love your tutorial. Thanks. Your way of teaching is so clear and is helping me a lot.
ОтветитьCode is not available on github
Ответить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()
Ответить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 :)
ОтветитьThank You so much the course is really helpful
ОтветитьSo, associative arrays are similar to std::maps in C++ ... that is very interesting... Love your videos. Very clear, concise, and easily understandable.
Ответитьninja
>|(: ***best *****best *****best *** best **best *****
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?
ОтветитьAm Enjoying this so much Shaun, my words may not be enough to appreciate you. but i say thanks
Ответитьlol, loving the street fighter and Japanese references. That enough made me a fan, very straightforward teaching thanks!
ОтветитьI learn JS first, and OMG what a mess this PHP
Ответить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.
that man save me now ...!
ОтветитьNinja has got the best tutorials for php.... Love it😘
ОтветитьHi GangMaster!
ОтветитьDo you have a video with an associative array?
Ответитьyou don't have php course on udemy?
Ответить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 => ?
ОтветитьHow can I push multiple values in associative array. I mean the syntax?
Ответитьthanks net ninja!
ОтветитьShaun plays mario a lot. by the way nice tutorial.
Ответитьthank you ))) are we gonna use associative ever ??
Ответитьso associative arrays are just key-value-maps
Ответить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
some error shows
<?php
//indexed array
$peopleOne = ['happy', 'arun', 'karthik' ];
echo $peopleOne[1];
//assosiative array
?>
<!DOCTYPE html>
<html>
<head>
<title>array</title>
</head>
<body>
</body>
</html>
output
Parse error: syntax error, unexpected '[' in C:\wamp\www\tutorial_php\L7-array\index.php on line 4
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 ?
Ответить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.
ОтветитьNice and easy, thanks for your efforts.
ОтветитьThank you so much!
Ответитьnice Tutorial Shaun, Thank You!
Ответить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!
Ответить