Orionsbelter Posted September 7, 2012 Share Posted September 7, 2012 Please help i don't get why this is kicking out and error echo"Monday: ".startAv($fetchAv->mon_start)." - ".finAv($fetchAv->mon_finish)."<br> Tuesday: ".startAv($fetchAv->tue_start)." - ".finAv($fetchAv->tue_finish)."<br> Wednesday: ".startAv($fetchAv->wed_start)." - ".finAv($fetchAv->wed_finish)."<br> Thursday: ".startAv($fetchAv->thu_start)." - ".finAv($fetchAv->thu_finish)."<br> Friday: ".startAv($fetchAv->fri_start)." - ".finAv($fetchAv->fri_finish."<br> Saturday: ".startAv($fetchAv->sat_start)." - ".finAv($fetchAv->sat_finish)."<br> Sunday: ".startAv($fetchAv->sun_start)." - ".finAv($fetchAv->sun_finish)."<br>"; Link to comment https://forums.phpfreaks.com/topic/268139-why-is-this-kicking-out-an-error-code/ Share on other sites More sharing options...
trq Posted September 7, 2012 Share Posted September 7, 2012 You forgot to tell us the error. If it's a simple syntax error, it should be simple enough to fix yourself. Link to comment https://forums.phpfreaks.com/topic/268139-why-is-this-kicking-out-an-error-code/#findComment-1376210 Share on other sites More sharing options...
Pikachu2000 Posted September 8, 2012 Share Posted September 8, 2012 It's OK to add a space before and after each concatenation operator so you can actually read the code, you know. And it would help you spot the error, too. Link to comment https://forums.phpfreaks.com/topic/268139-why-is-this-kicking-out-an-error-code/#findComment-1376219 Share on other sites More sharing options...
Jessica Posted September 8, 2012 Share Posted September 8, 2012 You're missing a closing paren Friday: ".startAv($fetchAv->fri_start)." - ".finAv($fetchAv->fri_finish."<br> Link to comment https://forums.phpfreaks.com/topic/268139-why-is-this-kicking-out-an-error-code/#findComment-1376220 Share on other sites More sharing options...
ignace Posted September 8, 2012 Share Posted September 8, 2012 You should get yourself a decent IDE, they tell you where you have an error. Link to comment https://forums.phpfreaks.com/topic/268139-why-is-this-kicking-out-an-error-code/#findComment-1376277 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.