I have a PHP script that writes a calendar and writes each day with an echo. there are individual events assigned to each day. clicking on the date field opens a window to add an event. clicking on existing event within each day opens a window showing details of that event. the following should give you the idea:
now I’m trying to rearrange things. I want the entire cell to be the clickable link. click it and up pops a window showing all events assigned to that day, and then we will view, add, or delete events from there.
I think I need a “onclick” within my <td, but can’t get the syntax to work. can’t find any working examples anywhere, which worries me that my whole approach is wrong.
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\calendar\index.php on line 140