+ 1
5th Feb 2018, 9:43 AM
Raphael Shay
Raphael Shay - avatar
5 Answers
+ 1
Use global variable to access variable in both function.
5th Feb 2018, 11:39 AM
Saket Kumar Yadav
+ 2
use global before the variable name
6th Feb 2018, 11:32 AM
Abdelbaset Abdelmoaty Mohamed
Abdelbaset Abdelmoaty Mohamed - avatar
+ 2
you will find it in the solo learn PHP course.
6th Feb 2018, 11:41 AM
Abdelbaset Abdelmoaty Mohamed
Abdelbaset Abdelmoaty Mohamed - avatar
+ 1
How do I make a global variable?
5th Feb 2018, 2:50 PM
Raphael Shay
Raphael Shay - avatar
+ 1
What is global?
6th Feb 2018, 11:40 AM
Raphael Shay
Raphael Shay - avatar