$var = something;
$var .= somethingmore;
(lots and lots of code using $var = somethingsomethingmore)
$var .= evenmore;
(lots of code using $var = somethingsomethingmoreevenmore)
??
can i do this?
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: can i do this?
did it fail when you tried it?
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: can i do this?
Be careful, your "(lots and lots ....)" comments use assignment "=", but your lines of code use the concatenation operator ".=".
(#10850)
Re: can i do this?
You will get a lot more help from this forum if you will:
- Use a Subject that indicates what your problem is concerned with; and
- Tell us what you have done so far. Most of us are more eager to help someone who has made some effort to solve their own problem, not just an idle curiosity question.