How how do you change a value inside a variable, i'm having trouble executing this but can't find any examples for dummies.
jelly46 0 Newbie Poster
Recommended Answers
Jump to PostHere is an example, just add word
global
$var = "Mercedes"; function checkcar() { global $var; if("Condition") { $var = "BMW"; } }
All 3 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.