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' 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? >_> 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 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 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
Archived
This topic is now archived and is closed to further replies.