PHP Multidimensional Array Tutorial in Hindi / Urdu
ฝัง
- เผยแพร่เมื่อ 9 พ.ย. 2024
- In this tutorial you will learn php multidimensional array tutorial in Hindi, Urdu.You can learn how to make a multidimensional array or nested array in php and how to print nested arrays with foreach loop.
PHP Tutorial in Hindi Playlist
• ✅ PHP Tutorial in Hind...
Official Website
www.yahoobaba.net/
Follow us on Facebook
/ yahooobaba
Follow us on Twitter
/ yahooobaba
#php #webdevelopment #webdesign
just realised today. i can become a programmer now..thanks yahoo baba sir..
Your welcome
I am watching this channel for the last few months, PHP is my 2nd course on this channel, I learned, Jquery, and Ajax with PHP. This channel is purely made for Asians. Thank You, Yahoo Baba!.
Your most welcome :)
Main apse req karne wala tha laravel ke lie but comnt krne se pehle socha ek baar playlist dekh lu waha already 2 days ago ka laravel ka tutorial dikha
Thanks alot
Your teaching style is very simple also easy to understand
This is the best video existing in youtube
Amir =driver or
Salman = salesman
Bahut khub sir 🔥🔥🙏👌👌👌👌
He he bois . 😂😂😂🤣🤣🤣
Thank you sir aap bahot Acha sikhate ho... Meri life easy ho gai hai aap k wajh se
Your most welcome :)
Love From Bangladesh.
Sir ji tucci Great ho...lots of love and best wishes for uh and ur family...keep smiling keep shining keep growing and keep teaching us...thanks a bundle...i am a fresher iws learning with codewithharry but now i found you as 100 times better than CWH.
Thanks and welcome :)
Best tutorial channel.tq sir
You are really a good teacher. Your teaching method is too good.
Glad you like it :)
Amazing Teaching!!!😊
Awesome tutorial, vai... It much effective for me.. And your learning technique with image example then code just cool. thank you very much. Love forever :)
Sir your all video is nice thanku sir 😊
Your welcome :)
Bhai, you're awesome, I really love your videos
Thanks and Welcome :)
thanks for making this video ...it is very helpfull.....and sir your all videos are owsm...
Thanks and welcome
Thank you sir. this video was vary useful i have successfully understand this topic thank you so much for video.
YOur welcome :)
Yahoo baba ,salman bhai ke fan lag rhe hai😂😆
Hahaha nahi aisa nahi hai :)
@@YahooBaba i was just kidding sir,, keep it up !
Thank You very much sir you made my life
Great video for both learner and developer
Glad you liked it
You Got one more Subscriber🥰🥰
kamal kr diya yahoo baba kamal
Thanks :)
You r the best
.
Thanks :)
Very helpful video 👍
Best php tutorial sir
great . . make tuturial series on bootstrap and js framework speically on React.js and vue.js
Yes sure , After this PHP course i will a course for Bootstrap 4 and JS Frameworks.
thank you for your effort. So helpful
Glad it was helpful!
Thanku sir😇😇😇
shahzda laga waaa.
foreach loop sir smnjh toh agai pr yahan is code mein 1st foreach kiske liye hai row k liye ya column k liye .i mean kis tarh se chal ri hai.yahan pr foreach ($emp as $value1) ismein kya aya $value1 mein aur nested foreach ($value1 as $value2) ismein kya aya. pls explain kr dijiye .important hai bahut.
foreach ($emp as $value1) {
foreach ($value1 as $value2) {
echo $value2;
}
}
Hello Jatinder, Kya aapne isse pehle wala tutorial dekha hai (foreach loop) ka , kyu ki mujhe aisa lag rha hai ki aapka foreach loop ka concept clear nahi hua hai. Agar aapne wo video nahi dekha hai toh usse pehle dekhlijiye.
Good video
hope so i will be developer one day
awesome Videos bro .
Glad you like them!
Osm vedio sir
Thanks Raj :)
Great!
Great sir
Great sir!
Thanks Akif :)
Thanks
Thanks sir...
Types jo aap batate hy usko delete naa karke comments kr dijiyega toh Baad me samjhne me aasani hoga
Sir Mera Question hai Hum For loop mai for name ke ya while/ do_while/ foreach loop kitna bna shekta hain
Aapka question samajh nahi aaya ? please explain it.
@@YahooBaba alright basically sir loops mai kitna loops bna shekta hai unlimited ya limited?
Unlimited
Great
Sir aap php project pr bhi viedo banao taki php tutorial or shi samajh aa jaye please sir
Php project next week start hone wala hai
Sir me web devepment ka curse sikh rha hu jis me php kr rha hu aap kuch btaye
sir is video me just 2 arrays ka btaya hai ager array k andr array or phir us array k andr ek aur array or phir ek aur array ho to sab se andr wali array ko kese echo karin gy?
Jitne bhi inner array ho unke liye sqaure braces use karni padengi like this :
a[1][0][2]
Here "a" is an array aur uske 1 index pe ek inner array hai aur uske bhi 0 index pe ek hor array hai jiski humne 2 index ki value ko dekhna hai.
thank you so much sir, Solved ❤️
sir agr me ek array k data ko dusre array k upr as a link bnana chahu to wo kese bane ga, matlb ek array men addresses aa rahe hen or dusre array men customers k names, ab me us ko html ya php men link bnana chahata hun custom names pr un k addresses ka to wo kese ho ga, kindly help me. Thank you
nice
Thanks
great :)
sir!! Laravel par bhi video banayenge kya?....
Yes
thank you so much for nice presentation, what can be done if i want to edit data?
Can you show me the example that how you want to edit the data.
kindly tell me that how can we iterate a 3d associative array by using for each loop
Thank you so much sir
Most welcome
Sir My sql sy connect with php ki videos kab tak ayi gi
SIR, Wo each loop samjha nhi ek aur vedio banao please!!!!!!
Sir agar hum maximum salary declare kerna chahen tou kese karein gae
Sir kisi multidimentional array me two subcategory de rkhi hai to usme se single subcategory ko select krna hai to kya logic likhege
Pehle aap Array dikyahiye. Print here.
@@YahooBaba subcategory to select kr li but subcategory me I'd se ek record print krana hai kaise kru..
Sir user se kaise multidimensional array store kra sakte h
By using HTML Forms.
sir g koi projects nai bnaye ap ny php course k
Banaya hai News Blog CMS Project.
@@YahooBaba link share kr dijiye sir yha
sir isme sorting kese kre??
best
Array_push () kaise use hoga multi dimensional array agar ho.? Plg bataiye
How to use 3 dimensional array in PHP?
why my for loop is not working
Show me your code. Send your code file at my email id : hello@yahoobaba.net
hi, which vs code theme you are using?
How to create multi dimensional array with array variables
$var = array ( array(
array(1,2,3,4),
array(2,4,3,6),
array (7,5,3,2) ),
array(
array(1,2,3,4),
array(2,4,3,6),
array(8,5,4,3) )
);
I want to create the above array with array variables like below
$a = array(1,2,3,4);
$b = array(2,4,3,6);
$var = array ( array(
$a,
$b,
array (7,5,3,2) ),
array(
array(1,2,3,4),
array(2,4,3,6),
array(8,5,4,3) )
);
But it is giving errors
How to implement this ?
Thanks in advance.
For each loop not clear. Please explain it clearly fully.
Please see the separate video of For each loop
code bata dein
column ko dynamic kasie count kare
$emp=[
[1,"krishan","manager",3000],
[2,"ram ji"," Senior manager",35000000],
[3,"harsh","TL",500],
[4,"raghav","Project Manager",2345],
[5,"manya","Driver",12345],
];
for($row=0;$row
Like this
count($emp[$row])
kya ap plz muje bta skte hai ki iski sorting krke isko insert kese kre..plz...thanku
$employee = array(
array("Prince","Male",16),
array("Prince","Male",16)
);
for($row= 0; $row < 3; $row++ ){
for($col= 0; $col < 3; $col++ ) {
echo $employee[$row][$col] . " ";
}
}
its gettting Undefined offset: 2 error
because of your row is still 2 which devide into 0,1 that's why you got first error
There's only 2 rows
$row
Thank you bro
How to create multi dimensional array with array variables
$var = array ( array(
array(1,2,3,4),
array(2,4,3,6),
array (7,5,3,2) ),
array(
array(1,2,3,4),
array(2,4,3,6),
array(8,5,4,3) )
);
I want to create the above array with array variables like below
$a = array(1,2,3,4);
$b = array(2,4,3,6);
$var = array ( array(
$a,
$b,
array (7,5,3,2) ),
array(
array(1,2,3,4),
array(2,4,3,6),
array(8,5,4,3) )
);
But it is giving errors
How to implement this ?
Thanks in advance.
Their are two ways to do this :
Way 1 :
$element = 'world';
$array = ['hello'];
$array[] = $element;
Way 2 :
$element = 'world';
$array = ['hello'];
array_push($array, $element);