I am trying to create a website that is connected to a database. In the database I am storing information about up coming events. On my webpage I have inserted a calendar from
I have made a couple of small modification to the calendar such as color and size to better fit my webpage. Where I am running into my problem is that I want the page to display (in a main body table cell) the events for the date which was selected. If no date was selected then I want the page to open with the current date being chosen. The problem I am having is figuring out how to query the date which is chosen.
Currently the code sends the date to the query in the following format
I have set up my database to be able to query by specific months also. Inorder to do this I created each month day year as seperate fields. This is where I am running into my problem. Does anyone know how I can break apart the URL String so that I can query it in my SQL
Currently I have am trying the following:
strSQL4 = "Select * From Event where Month =" & Request.QueryString("month" & "-" & "And Day=" & Request.QueryString("day" & "-" & "And Year=" & Request.QueryString("year"
I am not sure if this is even the proper approach. Any help would be greatly appreciated. Thanks
Russ
I have made a couple of small modification to the calendar such as color and size to better fit my webpage. Where I am running into my problem is that I want the page to display (in a main body table cell) the events for the date which was selected. If no date was selected then I want the page to open with the current date being chosen. The problem I am having is figuring out how to query the date which is chosen.
Currently the code sends the date to the query in the following format
I have set up my database to be able to query by specific months also. Inorder to do this I created each month day year as seperate fields. This is where I am running into my problem. Does anyone know how I can break apart the URL String so that I can query it in my SQL
Currently I have am trying the following:
strSQL4 = "Select * From Event where Month =" & Request.QueryString("month" & "-" & "And Day=" & Request.QueryString("day" & "-" & "And Year=" & Request.QueryString("year"
I am not sure if this is even the proper approach. Any help would be greatly appreciated. Thanks
Russ