Hi all, I have to give access to my data from database using url.. For this i have written a controller which in turn returns the data in XML format. This part was actually easy. This url also contains query string with which i have to get the data. Here is where i am stuck.
Let the three parameters coming as query string be LAB, FROMDATE and TODATE. How can i know from the url that these 3 parameters are present in the query string. All the 3 parameters must be there to retrieve the data. So if there is any one missing I have to through an error. I have validated if the parameter is in the query string and its value is empty.(http://localhost/spicesboard/labAnalysis/intimationList/? Lab=&FromDate=2&ToDate=3) I have to validate if the query string does not contain the parameter itself. Ex(http://localhost/spicesboard/labAnalysis/intimationList/? ToDate=3) Regards Sijo Jose C --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
