MrCreeky Posted December 4, 2008 Share Posted December 4, 2008 I want to check that 'show_p_riderlist' = Y, if it does then it should show the field 'p_riderlist' Here is what I did but nothing shows up. <?php if ($row_rs1_events['show_p_riderlist']=="Y") echo $row_rs1_events['p_riderlist'] ?> Quote Link to comment https://forums.phpfreaks.com/topic/135573-solved-syntax-help/ Share on other sites More sharing options...
premiso Posted December 4, 2008 Share Posted December 4, 2008 Are you sure the variables are set correctly and that Y is not y? Just checking, also I think you need a ; after the echo (unsure of that but yea). Quote Link to comment https://forums.phpfreaks.com/topic/135573-solved-syntax-help/#findComment-706282 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.