Welcome Guest, Not a member yet? Register   Sign In
Get data based on the URL but using the same function
#3

[eluser]Dannymx[/eluser]
[quote author="osci" date="1305544408"]
Code:
function index($school='') {
   //have values stored in uppercase or do search in db using UCASE
   // transform your segment to uppercase
   $school = strtoupper($school);
   //check database now

}
[/quote]

I printed the $school value and I get "(:any)"

This is making conflict with the uri routing.


Messages In This Thread
Get data based on the URL but using the same function - by El Forum - 05-15-2011, 11:40 PM
Get data based on the URL but using the same function - by El Forum - 05-16-2011, 12:13 AM
Get data based on the URL but using the same function - by El Forum - 05-16-2011, 12:31 AM
Get data based on the URL but using the same function - by El Forum - 05-16-2011, 12:37 AM
Get data based on the URL but using the same function - by El Forum - 05-16-2011, 12:37 AM
Get data based on the URL but using the same function - by El Forum - 05-16-2011, 12:39 AM
Get data based on the URL but using the same function - by El Forum - 05-16-2011, 12:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB