Lautarox Posted July 23, 2008 Share Posted July 23, 2008 Here's the link to my code http://pastebin.php-es.info/4465 Can someone tell me why $code isn't beeing printed? it only shows Codigo: 'M' Quote Link to comment https://forums.phpfreaks.com/topic/116259-cant-increase-vars-in-code/ Share on other sites More sharing options...
DarkWater Posted July 23, 2008 Share Posted July 23, 2008 Why are you using the global keyword outside of a function? >_> Quote Link to comment https://forums.phpfreaks.com/topic/116259-cant-increase-vars-in-code/#findComment-597814 Share on other sites More sharing options...
Lautarox Posted July 23, 2008 Author Share Posted July 23, 2008 Dont' worry, thats not what i have xD, i've putted that cause i was really mad about this not working Quote Link to comment https://forums.phpfreaks.com/topic/116259-cant-increase-vars-in-code/#findComment-597831 Share on other sites More sharing options...
Lautarox Posted July 23, 2008 Author Share Posted July 23, 2008 I've setted $codigo to global and now it shows $codigo, but it doesn't increase $inc Quote Link to comment https://forums.phpfreaks.com/topic/116259-cant-increase-vars-in-code/#findComment-597851 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.