javascript - how to add image along with some other data in a table cell using php -


I am preparing a calendar using Javascript and to show what special that day, some icons I have to add, but I used echo to print the present day in each table cell, I have to add that date to those relevant dates. ($ I = 1; $ i & lt; ($ maxday + $ startday); $ i ++) {if (($ i% 7) == 1) Let me say "& lt; tr & gt;"; If ($ i & lt; $ start day) {echo " & lt; / td>;); to continue; }; $ Current_day = $ i - $ Beginners + 1; If (in_array ($ cYear. "-" $ cMonth. "-" $ current_day, $ unavailable)) {echo "" $ Current_def " "; } Else {echo "& lt; td class = \" available \ "& gt; $ Current_day "& Lt; / td>"; }} If (($ i% 7) == 0) echo "

}? & Gt;

Just using the echo, I'm displaying on the 1st from the 31st, but I have to add some marks with some specific dates.

You either echo the tag, or if you want a picture on the background, you can create a square Repeat the background again and you will resume the square with tags.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -