PDA

View Full Version : best way to pass a string through multiple functions.


tonybodnaruik
10-28-2011, 04:39 PM
So I was wondering what way is best as far as structure is concerned to do this. I'm new to php so making a class is new to me but I'm not even sure if that is the best way to do it. The only reason I ask is because I want to learn early on how to write my code efficiently and neat. I hate messy code. Any suggestions?

edbr
10-29-2011, 12:42 AM
Davidj would be the best to answer this he is very correct in structure