liamloveslearning Posted May 24, 2010 Share Posted May 24, 2010 Hi everyone, im trying to echo a number from my db +1 however its just echoing my data without the addition, my code is <?php echo $row_getjoin['picture_downloads']; + 1; ?> Is this incorrect? Link to comment https://forums.phpfreaks.com/topic/202711-variable-1/ Share on other sites More sharing options...
ricmetal Posted May 24, 2010 Share Posted May 24, 2010 there's an extra ; - the first ; i think is not supposed to be. Link to comment https://forums.phpfreaks.com/topic/202711-variable-1/#findComment-1062499 Share on other sites More sharing options...
liamloveslearning Posted May 24, 2010 Author Share Posted May 24, 2010 Thanks ricmetal! Link to comment https://forums.phpfreaks.com/topic/202711-variable-1/#findComment-1062500 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.