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>"; Quote 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. Quote 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. Quote 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> Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.